first attempt #2
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: Create Release | |
on: | |
push: | |
branches: [ main ] | |
env: | |
PLUGIN_NAME: smashline_test | |
jobs: | |
build-release: | |
runs-on: ubuntu-latest | |
container: | |
image: jugeeya/cargo-skyline:3.0.0-dkp-beta | |
steps: | |
- uses: actions/[email protected] | |
- name: Build Release NRO | |
run: | | |
PATH=$PATH:/root/.cargo/bin:/opt/devkitpro/devkitA64/bin /root/.cargo/bin/cargo-skyline skyline build --release | |
env: | |
HOME: /root | |
# uncomment if you want to upload this to your repository automatically. | |
# - name: Update Release | |
# uses: meeDamian/[email protected] | |
# with: | |
# token: ${{ secrets.GITHUB_TOKEN }} | |
# prerelease: false | |
# allow_override: true | |
# gzip: false | |
# tag: beta | |
# name: beta | |
# body: > | |
# Beta built off of the latest code in the repository. | |
# files: > | |
# target/aarch64-skyline-switch/release/lib${{env.PLUGIN_NAME}}.nro |