Merge pull request #52 from piplup55/rework/ryujinx-mod-manager

Change Workflow
This commit is contained in:
Jack Garrard 2023-09-03 17:01:50 -07:00 committed by GitHub
commit 44f8ece7ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 26 deletions

View file

@ -11,7 +11,7 @@ inputs:
required : false required : false
default : '' default : ''
emu: emu:
description : 'what system the build is for: Switch, Ryujinx or yuzu' description : 'what system the build is for: Switch or Emulators'
required : false required : false
default : 'Switch' default : 'Switch'
@ -62,9 +62,9 @@ runs:
; ;
cp -r ./romfs/ ./starlight_patch_100/atmosphere/contents/0100000000010000/. cp -r ./romfs/ ./starlight_patch_100/atmosphere/contents/0100000000010000/.
- -
name : Yuzu name : Emulators
shell : bash shell : bash
if : ${{ inputs.emu == 'yuzu' }} if : ${{ inputs.emu == 'Emulators' }}
run: | run: |
cd ./starlight_patch_100/ cd ./starlight_patch_100/
mkdir ./SMOO/ mkdir ./SMOO/

View file

@ -22,7 +22,7 @@ jobs:
build: build:
strategy: strategy:
matrix: matrix:
emu : [ Switch, Ryujinx, yuzu ] emu : [ Switch, Emulators ]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- -

View file

@ -21,12 +21,11 @@ jobs:
build: build:
strategy: strategy:
matrix: matrix:
emu : [ Switch, Ryujinx, yuzu ] emu : [ Switch, Emulators ]
runs-on: ubuntu-latest runs-on: ubuntu-latest
outputs: outputs:
filename1: ${{ steps.set-output.outputs.filename-Switch }} filename1: ${{ steps.set-output.outputs.filename-Switch }}
filename2: ${{ steps.set-output.outputs.filename-Ryujinx }} filename2: ${{ steps.set-output.outputs.filename-Emulators }}}
filename3: ${{ steps.set-output.outputs.filename-yuzu }}
steps: steps:
- -
name : Checkout name : Checkout
@ -73,19 +72,12 @@ jobs:
upload_url : ${{ steps.release.outputs.upload_url }} upload_url : ${{ steps.release.outputs.upload_url }}
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
- -
name : Attach build artifacts to release (Ryujinx) name : Attach build artifacts to release (Emulators)
uses : ./.github/actions/attach uses : ./.github/actions/attach
with: with:
filename : ${{ needs.build.outputs.filename2 }} filename : ${{ needs.build.outputs.filename2 }}
upload_url : ${{ steps.release.outputs.upload_url }} upload_url : ${{ steps.release.outputs.upload_url }}
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
-
name : Attach build artifacts to release (yuzu)
uses : ./.github/actions/attach
with:
filename : ${{ needs.build.outputs.filename3 }}
upload_url : ${{ steps.release.outputs.upload_url }}
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
move: move:
needs: attach needs: attach

View file

@ -14,12 +14,11 @@ jobs:
build: build:
strategy: strategy:
matrix: matrix:
emu : [ Switch, Ryujinx, yuzu ] emu : [ Switch, Emulators ]
runs-on: ubuntu-latest runs-on: ubuntu-latest
outputs: outputs:
filename1: ${{ steps.set-output.outputs.filename-Switch }} filename1: ${{ steps.set-output.outputs.filename-Switch }}
filename2: ${{ steps.set-output.outputs.filename-Ryujinx }} filename2: ${{ steps.set-output.outputs.filename-Emulators }}
filename3: ${{ steps.set-output.outputs.filename-yuzu }}
steps: steps:
- -
name : Checkout name : Checkout
@ -60,16 +59,9 @@ jobs:
upload_url : ${{ steps.release.outputs.upload_url }} upload_url : ${{ steps.release.outputs.upload_url }}
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
- -
name : Attach build artifacts to release (Ryujinx) name : Attach build artifacts to release (Emulators)
uses : ./.github/actions/attach uses : ./.github/actions/attach
with: with:
filename : ${{ needs.build.outputs.filename2 }} filename : ${{ needs.build.outputs.filename2 }}
upload_url : ${{ steps.release.outputs.upload_url }} upload_url : ${{ steps.release.outputs.upload_url }}
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
-
name : Attach build artifacts to release (yuzu)
uses : ./.github/actions/attach
with:
filename : ${{ needs.build.outputs.filename3 }}
upload_url : ${{ steps.release.outputs.upload_url }}
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}