-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (32 loc) · 1000 Bytes
/
rust_build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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/checkout@v3.1.0
- 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/github-release@2.0
# 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