Skip to content

Update switch.yml

Update switch.yml #54

Workflow file for this run

name: Nintendo Switch
on:
push:
branches: [ gha-switch ]
jobs:
build:
runs-on: ubuntu-20.04
container: devkitpro/devkita64:20210726
steps:
- name: Checkout repo
uses: actions/checkout@v1
- name: make clean
run: make PLATFORM=Switch clean
working-directory: Oxygen/sonic3air/build/_make
- name: make
run: make PLATFORM=Switch
working-directory: Oxygen/sonic3air/build/_make
- name: Create directory structure
working-directory: Oxygen/sonic3air/build/_make
run: |
mkdir -p bin/Switch/sd/switch/sonic3air
mv bin/Switch/sonic3air.nro bin/Switch/sd/switch/sonic3air/
cp -r -v ../../../sonic3air/_master_image_template/* bin/Switch/sd/switch/sonic3air/
cp -v ../../../oxygenengine/_master_image_template/Handbook.pdf bin/Switch/sd/switch/sonic3air/bonus/
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: sonic3air_game-switch
path: Oxygen/sonic3air/build/_make/bin/