fix: part 2: Resolve AppImage CI failures in Stable and Canary

This was done by adding the -n flag when running appimagetool.
Fix suggested by `settyness` on Discord.
This commit is contained in:
GreemDev
2025-08-24 15:44:38 -05:00
parent 5fa82bb1f5
commit cd3c614021
2 changed files with 40 additions and 44 deletions

View File

@@ -106,8 +106,6 @@ jobs:
gli --access-token=${{ secrets.GITLAB_TOKEN }} --project=ryubing/canary --command=UploadGenericPackage "Ryubing-Canary|${{ steps.version_info.outputs.build_version }}|release_output/ryujinx-canary-${{ steps.version_info.outputs.build_version }}-${{ matrix.platform.zip_os_name }}.tar.gz" gli --access-token=${{ secrets.GITLAB_TOKEN }} --project=ryubing/canary --command=UploadGenericPackage "Ryubing-Canary|${{ steps.version_info.outputs.build_version }}|release_output/ryujinx-canary-${{ steps.version_info.outputs.build_version }}-${{ matrix.platform.zip_os_name }}.tar.gz"
shell: bash shell: bash
# If anyone wants to look into why appimagetool randomly errors with exit code 8, that would be cool
- name: Build AppImage (Linux) - name: Build AppImage (Linux)
if: matrix.platform.os == 'ubuntu-latest' if: matrix.platform.os == 'ubuntu-latest'
run: | run: |

View File

@@ -97,47 +97,45 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# If anyone wants to look into why appimagetool randomly errors with exit code 8, that would be cool - name: Build AppImage (Linux)
if: matrix.platform.os == 'ubuntu-latest'
run: |
BUILD_VERSION="${{ steps.version_info.outputs.build_version }}"
PLATFORM_NAME="${{ matrix.platform.name }}"
# - name: Build AppImage (Linux) sudo apt install -y zsync desktop-file-utils appstream
# if: matrix.platform.os == 'ubuntu-latest'
# run: | mkdir -p tools
# BUILD_VERSION="${{ steps.version_info.outputs.build_version }}" export PATH="$PATH:$(readlink -f tools)"
# PLATFORM_NAME="${{ matrix.platform.name }}"
# # Setup appimagetool
# sudo apt install -y zsync desktop-file-utils appstream wget -q -O tools/appimagetool "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage"
# chmod +x tools/appimagetool
# mkdir -p tools chmod +x distribution/linux/appimage/build-appimage.sh
# export PATH="$PATH:$(readlink -f tools)"
# # Explicitly set $ARCH for appimagetool ($ARCH_NAME is for the file name)
# # Setup appimagetool if [ "$PLATFORM_NAME" = "linux-x64" ]; then
# wget -q -O tools/appimagetool "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage" ARCH_NAME=x64
# chmod +x tools/appimagetool export ARCH=x86_64
# chmod +x distribution/linux/appimage/build-appimage.sh elif [ "$PLATFORM_NAME" = "linux-arm64" ]; then
# ARCH_NAME=arm64
# # Explicitly set $ARCH for appimagetool ($ARCH_NAME is for the file name) export ARCH=aarch64
# if [ "$PLATFORM_NAME" = "linux-x64" ]; then else
# ARCH_NAME=x64 echo "Unexpected PLATFORM_NAME "$PLATFORM_NAME""
# export ARCH=x86_64 exit 1
# elif [ "$PLATFORM_NAME" = "linux-arm64" ]; then fi
# ARCH_NAME=arm64
# export ARCH=aarch64 export UFLAG="gh-releases-zsync|${{ github.repository_owner }}|${{ github.event.repository.name }}|latest|*-$ARCH_NAME.AppImage.zsync"
# else BUILDDIR=publish OUTDIR=publish_appimage distribution/linux/appimage/build-appimage.sh
# echo "Unexpected PLATFORM_NAME "$PLATFORM_NAME""
# exit 1 pushd publish_appimage
# fi mv Ryujinx.AppImage ../release_output/ryujinx-$BUILD_VERSION-$ARCH_NAME.AppImage
# mv Ryujinx.AppImage.zsync ../release_output/ryujinx-$BUILD_VERSION-$ARCH_NAME.AppImage.zsync
# export UFLAG="gh-releases-zsync|${{ github.repository_owner }}|${{ github.event.repository.name }}|latest|*-$ARCH_NAME.AppImage.zsync" popd
# BUILDDIR=publish OUTDIR=publish_appimage distribution/linux/appimage/build-appimage.sh
# gli --access-token=${{ secrets.GITLAB_TOKEN }} --project=ryubing/ryujinx --command=UploadGenericPackage "Ryubing|${{ steps.version_info.outputs.build_version }}|release_output/ryujinx-$BUILD_VERSION-$ARCH_NAME.AppImage"
# pushd publish_appimage gli --access-token=${{ secrets.GITLAB_TOKEN }} --project=ryubing/ryujinx --command=UploadGenericPackage "Ryubing|${{ steps.version_info.outputs.build_version }}|release_output/ryujinx-$BUILD_VERSION-$ARCH_NAME.AppImage.zsync"
# mv Ryujinx.AppImage ../release_output/ryujinx-$BUILD_VERSION-$ARCH_NAME.AppImage shell: bash
# mv Ryujinx.AppImage.zsync ../release_output/ryujinx-$BUILD_VERSION-$ARCH_NAME.AppImage.zsync
# popd
#
# gli --access-token=${{ secrets.GITLAB_TOKEN }} --project=ryubing/ryujinx --command=UploadGenericPackage "Ryubing|${{ steps.version_info.outputs.build_version }}|release_output/ryujinx-$BUILD_VERSION-$ARCH_NAME.AppImage"
# gli --access-token=${{ secrets.GITLAB_TOKEN }} --project=ryubing/ryujinx --command=UploadGenericPackage "Ryubing|${{ steps.version_info.outputs.build_version }}|release_output/ryujinx-$BUILD_VERSION-$ARCH_NAME.AppImage.zsync"
# shell: bash
macos_release: macos_release:
name: Release MacOS universal name: Release MacOS universal