1
1
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2025-10-02 20:05:50 -05:00

infra: don't repackage appimages and fix zsync files (#34)

Co-authored-by: reggie <reggie@latte.to>
This commit is contained in:
Samuel
2024-10-06 15:14:04 -04:00
committed by GitHub
parent 2880892c2c
commit 51b956ac7f
3 changed files with 37 additions and 24 deletions

View File

@@ -82,7 +82,7 @@ jobs:
- name: Build AppImage
if: github.event_name == 'pull_request' && matrix.platform.os == 'ubuntu-latest'
run: |
PLATFORM_NAME="${{ matrix.platform.name }}"
ARCH_NAME="${RUNNER_ARCH,,}"
sudo apt install -y zsync desktop-file-utils appstream
@@ -93,15 +93,17 @@ jobs:
wget -q -O tools/appimagetool "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage"
chmod +x tools/appimagetool
if [ "$PLATFORM_NAME" = "linux-x64" ]; then
# Explicitly set $ARCH for appimagetool
if [ "$ARCH_NAME" = "x64" ]; then
export ARCH=x86_64
elif [ "$PLATFORM_NAME" = "linux-arm64" ]; then
elif [ "$ARCH_NAME" = "arm64" ]; then
export ARCH=aarch64
else
echo "Unexpected PLATFORM_NAME "$PLATFORM_NAME""
echo "Unexpected ARCH_NAME "$ARCH_NAME""
exit 1
fi
export UFLAG="gh-releases-zsync|${{ github.repository_owner }}|${{ github.event.repository.name }}|latest|*-$ARCH_NAME.AppImage.zsync"
BUILDDIR=publish OUTDIR=publish_appimage distribution/linux/appimage/build-appimage.sh
shell: bash