Updates for 02-2026 STD #309
This file contains hidden or 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: build | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: | |
| - master | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| plugin_build: | |
| env: | |
| PLUGIN_NAME: ARCropolis | |
| runs-on: ubuntu-latest | |
| container: | |
| image: jugeeya/cargo-skyline:3.0.0-dkp-beta | |
| steps: | |
| - name: checkout version | |
| uses: actions/checkout@v2 | |
| - name: check event type | |
| run: echo ${{ github.event_name }} | |
| - name: install rustfmt | |
| uses: actions-rs/toolchain@v1 | |
| if: github.event_name == 'push' | |
| with: | |
| toolchain: stable | |
| components: rustfmt | |
| override: true | |
| # format if necessary | |
| - uses: mbrobbel/rustfmt-check@master | |
| if: github.event_name == 'push' | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| # build the project | |
| - run: | | |
| export PATH=$PATH:/root/.cargo/bin:/opt/devkitpro/devkitA64/bin \ | |
| && cargo skyline build --release --no-default-features | |
| env: | |
| HOME: /root | |
| - name: make folder structure | |
| run: | | |
| mkdir -p arcropolis-package/atmosphere/contents/01006a800016e000/romfs/skyline/plugins/ | |
| - name: find the plugin | |
| run: | | |
| find ./target/ -name *.nro | |
| cp $(find ./target/ -name *.nro) arcropolis-package/atmosphere/contents/01006a800016e000/romfs/skyline/plugins/ | |
| - name: Upload plugin | |
| uses: actions/upload-artifact@v2 | |
| with: | |
| name: arcropolis | |
| path: arcropolis-package |