Skip to content

Commit b738031

Browse files
yvtthe-mikedavis
authored andcommitted
chore(ci): build AppImage for aarch64-linux
1 parent 038a91d commit b738031

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ jobs:
138138
139139
- name: Build AppImage
140140
shell: bash
141-
if: matrix.build == 'x86_64-linux'
141+
if: matrix.build == 'aarch64-linux' || matrix.build == 'x86_64-linux'
142142
run: |
143143
mkdir dist
144144
@@ -147,8 +147,10 @@ jobs:
147147
name=${GITHUB_REF:10}
148148
fi
149149
150+
build="${{ matrix.build }}"
151+
150152
export VERSION="$name"
151-
export ARCH=x86_64
153+
export ARCH=${build%-linux}
152154
export APP=helix
153155
export OUTPUT="helix-$VERSION-$ARCH.AppImage"
154156
export UPDATE_INFORMATION="gh-releases-zsync|$GITHUB_REPOSITORY_OWNER|helix|latest|$APP-*-$ARCH.AppImage.zsync"
@@ -245,7 +247,7 @@ jobs:
245247
mv bins-$platform/hx$exe $pkgname
246248
chmod +x $pkgname/hx$exe
247249
248-
if [[ "$platform" = "x86_64-linux" ]]; then
250+
if [[ "$platform" = "aarch64-linux" || "$platform" = "x86_64-linux" ]]; then
249251
mv bins-$platform/helix-*.AppImage* dist/
250252
fi
251253

0 commit comments

Comments
 (0)