latest container? #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Nintendo Switch | |
on: | |
workflow_dispatch: | |
push: | |
pull_request: | |
branches: [ switch-port ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: devkitpro/devkita64 | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v1 | |
- name: Download assets | |
run: sh ./downloadassets.sh | |
- name: make clean | |
run: make -C src/ SWITCH=1 clean | |
- name: make | |
run: make -C src/ SWITCH=1 | |
- name: Upload NRO | |
uses: actions/upload-artifact@v2 | |
with: | |
name: nro | |
path: bin/Switch/Release/kartswitch.nro | |
- name: Upload full zip | |
uses: actions/upload-artifact@v2 | |
with: | |
name: full | |
path: bin/Switch/Release/kartswitch_*.full.zip | |
- name: Upload NRO update zip | |
uses: actions/upload-artifact@v2 | |
with: | |
name: update_nro | |
path: bin/Switch/Release/kartswitch_*.update.nro.zip | |
- name: Upload update zip | |
uses: actions/upload-artifact@v2 | |
with: | |
name: update | |
path: bin/Switch/Release/kartswitch_*.update.zip |