diff options
author | yvt | 2022-09-03 12:49:45 +0000 |
---|---|---|
committer | Michael Davis | 2022-09-06 23:42:02 +0000 |
commit | b7380313a5d5e590970742bf7eaa2f2d695b6e0c (patch) | |
tree | 0d07bdafda924e9dc570789e305c0f93bd3df0df | |
parent | 038a91d204bd4a0038201f37d64cc55615ca9fca (diff) |
chore(ci): build AppImage for aarch64-linux
-rw-r--r-- | .github/workflows/release.yml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 76e12eac..7d723b98 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -138,7 +138,7 @@ jobs: - name: Build AppImage shell: bash - if: matrix.build == 'x86_64-linux' + if: matrix.build == 'aarch64-linux' || matrix.build == 'x86_64-linux' run: | mkdir dist @@ -147,8 +147,10 @@ jobs: name=${GITHUB_REF:10} fi + build="${{ matrix.build }}" + export VERSION="$name" - export ARCH=x86_64 + export ARCH=${build%-linux} export APP=helix export OUTPUT="helix-$VERSION-$ARCH.AppImage" export UPDATE_INFORMATION="gh-releases-zsync|$GITHUB_REPOSITORY_OWNER|helix|latest|$APP-*-$ARCH.AppImage.zsync" @@ -245,7 +247,7 @@ jobs: mv bins-$platform/hx$exe $pkgname chmod +x $pkgname/hx$exe - if [[ "$platform" = "x86_64-linux" ]]; then + if [[ "$platform" = "aarch64-linux" || "$platform" = "x86_64-linux" ]]; then mv bins-$platform/helix-*.AppImage* dist/ fi |