name: Build on: push: branches: [main, master] pull_request: branches: [main, master] jobs: switch: runs-on: ubuntu-latest container: image: devkitpro/devkita64:latest permissions: contents: read steps: - name: Checkout uses: actions/checkout@v4 - name: Configure git safe directory run: git config --global --add safe.directory "$GITHUB_WORKSPACE" - name: Compile (Switch .nro) env: DEVKITPRO: /opt/devkitpro run: make -j$(nproc) - name: Upload .nro artifact uses: actions/upload-artifact@v4 with: name: swr-ini-tool path: swr-ini-tool.nro if-no-files-found: error