on master help sign in
chore(ci): build AppImage for aarch64-linux
commitb7380313a5d5e590970742bf7eaa2f2d695b6e0c authoryvt <i@yvt.jp> dateSat 3 Sep 2022, 21:49 (4 years ago) parent038a91d
1 file changed+5−3
.github/workflows/release.yml+5−3
.github/workflows/release.yml+5−3
@@ -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