Fix partial deployment failing (#2792)

This commit is contained in:
Michael Telatynski
2026-01-19 10:50:05 +00:00
committed by GitHub
parent aa38e1e6f4
commit 88dfd37819
+7 -7
View File
@@ -126,7 +126,7 @@ jobs:
- name: Prepare artifacts for deployment - name: Prepare artifacts for deployment
run: | run: |
set -x set -ex
# Windows # Windows
for arch in x64 arm64 for arch in x64 arm64
@@ -161,25 +161,25 @@ jobs:
- name: "[Nightly] Strip version from installer file" - name: "[Nightly] Strip version from installer file"
if: needs.prepare.outputs.nightly-version != '' if: needs.prepare.outputs.nightly-version != ''
run: | run: |
set -x set -ex
# Windows # Windows
for arch in x64 arm64 for arch in x64 arm64
do do
[ -d "win-$arch" ] && mv packages.element.io/install/win32/$arch/{*,"Element Nightly Setup"}.exe if [ -d "win-$arch" ]; then mv packages.element.io/install/win32/$arch/{*,"Element Nightly Setup"}.exe; fi
done done
# macOS # macOS
[ -d macos ] && mv packages.element.io/install/macos/{*,"Element Nightly"}.dmg if [ -d macos ]; then mv packages.element.io/install/macos/{*,"Element Nightly"}.dmg; fi
# Linux # Linux
[ -d linux-amd64-sqlcipher-static ] && mv packages.element.io/install/linux/glibc-x86-64/{*,element-desktop-nightly}.tar.gz if [ -d linux-amd64-sqlcipher-static ]; then mv packages.element.io/install/linux/glibc-x86-64/{*,element-desktop-nightly}.tar.gz; fi
[ -d linux-arm64-sqlcipher-static ] && mv packages.element.io/install/linux/glibc-aarch64/{*,element-desktop-nightly}.tar.gz if [ -d linux-arm64-sqlcipher-static ]; then mv packages.element.io/install/linux/glibc-aarch64/{*,element-desktop-nightly}.tar.gz; fi
- name: "[Release] Prepare release latest symlink" - name: "[Release] Prepare release latest symlink"
if: needs.prepare.outputs.nightly-version == '' if: needs.prepare.outputs.nightly-version == ''
run: | run: |
set -x set -ex
# Windows # Windows
for arch in x64 arm64 for arch in x64 arm64