addressed feedback

This commit is contained in:
piplup 2023-06-05 21:56:27 +01:00
parent 4d242a5e44
commit 936e0fd49f
3 changed files with 7 additions and 7 deletions

View File

@ -11,7 +11,7 @@ inputs:
required : false required : false
default : '' default : ''
emu: emu:
description : 'what system the build is for: Switch or Emulator' description : 'what system the build is for: Switch or Emulators'
required : false required : false
default : 'Switch' default : 'Switch'
@ -50,7 +50,7 @@ runs:
cache-from : type=gha,scope=smoo-build-env cache-from : type=gha,scope=smoo-build-env
cache-to : type=gha,scope=smoo-build-env,mode=max cache-to : type=gha,scope=smoo-build-env,mode=max
- -
name : Switch name : Build mod
shell : bash shell : bash
run: | run: |
docker run --rm \ docker run --rm \
@ -62,9 +62,9 @@ runs:
; ;
cp -r ./romfs/ ./starlight_patch_100/atmosphere/contents/0100000000010000/. cp -r ./romfs/ ./starlight_patch_100/atmosphere/contents/0100000000010000/.
- -
name : Emulator name : Emulators
shell : bash shell : bash
if : ${{ inputs.emu == 'Emulator' }} 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, Emulator ] emu : [ Switch, Emulators ]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- -

View File

@ -14,7 +14,7 @@ jobs:
build: build:
strategy: strategy:
matrix: matrix:
emu : [ Switch, Emulator ] 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 }}
@ -59,7 +59,7 @@ 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 (Emulator) 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 }}