chore(ci): build AppImage for aarch64-linux

change-detection
yvt 2 years ago committed by Michael Davis
parent 038a91d204
commit b7380313a5

@ -138,7 +138,7 @@ jobs:
- name: Build AppImage - name: Build AppImage
shell: bash shell: bash
if: matrix.build == 'x86_64-linux' if: matrix.build == 'aarch64-linux' || matrix.build == 'x86_64-linux'
run: | run: |
mkdir dist mkdir dist
@ -147,8 +147,10 @@ jobs:
name=${GITHUB_REF:10} name=${GITHUB_REF:10}
fi fi
build="${{ matrix.build }}"
export VERSION="$name" export VERSION="$name"
export ARCH=x86_64 export ARCH=${build%-linux}
export APP=helix export APP=helix
export OUTPUT="helix-$VERSION-$ARCH.AppImage" export OUTPUT="helix-$VERSION-$ARCH.AppImage"
export UPDATE_INFORMATION="gh-releases-zsync|$GITHUB_REPOSITORY_OWNER|helix|latest|$APP-*-$ARCH.AppImage.zsync" 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 mv bins-$platform/hx$exe $pkgname
chmod +x $pkgname/hx$exe 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/ mv bins-$platform/helix-*.AppImage* dist/
fi fi

Loading…
Cancel
Save