indentation

This commit is contained in:
Piplup 2024-10-27 10:50:59 +00:00
parent a5e7da246f
commit 014d498da7
No known key found for this signature in database
GPG Key ID: AADE53FD75F1BEAD

View File

@ -75,33 +75,37 @@ jobs:
if: github.event_name == 'pull_request' && matrix.platform.os == 'ubuntu-latest' if: github.event_name == 'pull_request' && matrix.platform.os == 'ubuntu-latest'
- name: Build AppImage - name: Build AppImage
if: github.event_name == 'pull_request' && matrix.platform.os == 'ubuntu-latest' if: github.event_name == 'pull_request' && matrix.platform.os == 'ubuntu-latest'
run: | run: |
PLATFORM_NAME="${{ matrix.platform.name }}" PLATFORM_NAME="${{ matrix.platform.name }}"
sudo apt install -y zsync desktop-file-utils appstream sudo apt install -y zsync desktop-file-utils appstream
mkdir -p tools mkdir -p tools
export PATH="$PATH:$(readlink -f tools)" export PATH="$PATH:$(readlink -f tools)"
wget -q -O tools/appimagetool "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage" # Setup appimagetool
chmod +x tools/appimagetool wget -q -O tools/appimagetool "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage"
chmod +x distribution/linux/appimage/build-appimage.sh chmod +x tools/appimagetool
chmod +x distribution/linux/appimage/build-appimage.sh
if [ "$PLATFORM_NAME" = "linux-x64" ]; then # Explicitly set $ARCH for appimagetool ($ARCH_NAME is for the file name)
ARCH_NAME=x64 if [ "$PLATFORM_NAME" = "linux-x64" ]; then
export ARCH=x86_64 ARCH_NAME=x64
elif [ "$PLATFORM_NAME" = "linux-arm64" ]; then export ARCH=x86_64
ARCH_NAME=arm64 elif [ "$PLATFORM_NAME" = "linux-arm64" ]; then
export ARCH=aarch64 ARCH_NAME=arm64
else export ARCH=aarch64
echo "Unexpected PLATFORM_NAME "$PLATFORM_NAME"" else
exit 1 echo "Unexpected PLATFORM_NAME "$PLATFORM_NAME""
fi exit 1
fi
export UFLAG="gh-releases-zsync|${{ github.repository_owner }}|${{ github.event.repository.name }}|latest|*-$ARCH_NAME.AppImage.zsync" export UFLAG="gh-releases-zsync|${{ github.repository_owner }}|${{ github.event.repository.name }}|latest|*-$ARCH_NAME.AppImage.zsync"
BUILDDIR=publish_ava OUTDIR=publish_appimage distribution/linux/appimage/build-appimage.sh BUILDDIR=publish_ava OUTDIR=publish_appimage distribution/linux/appimage/build-appimage.sh
shell: bash shell: bash
env:
RELEASE=0
- name: Upload Ryujinx artifact - name: Upload Ryujinx artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
@ -111,11 +115,11 @@ jobs:
if: github.event_name == 'pull_request' && matrix.platform.os != 'macos-13' if: github.event_name == 'pull_request' && matrix.platform.os != 'macos-13'
- name: Upload Ryujinx (AppImage) artifact - name: Upload Ryujinx (AppImage) artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
if: github.event_name == 'pull_request' && matrix.platform.os == 'ubuntu-latest' if: github.event_name == 'pull_request' && matrix.platform.os == 'ubuntu-latest'
with: with:
name: ryujinx-${{ matrix.configuration }}-${{ env.RYUJINX_BASE_VERSION }}+${{ steps.git_short_hash.outputs.result }}-${{ matrix.platform.zip_os_name }}-AppImage name: ryujinx-${{ matrix.configuration }}-${{ env.RYUJINX_BASE_VERSION }}+${{ steps.git_short_hash.outputs.result }}-${{ matrix.platform.zip_os_name }}-AppImage
path: publish_appimage path: publish_appimage
- name: Upload Ryujinx.Headless.SDL2 artifact - name: Upload Ryujinx.Headless.SDL2 artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4