1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2025-02-17 14:40:31 +00:00

Use symlink for rust src

This commit is contained in:
jugeeya 2020-09-20 17:48:56 -07:00 committed by GitHub
parent fd4c76db5c
commit 9b670bd9de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,23 +23,18 @@ jobs:
plugin:
runs-on: ubuntu-latest
container: jugeeya/cargo-skyline:latest
env:
GITHUB_WORKSPACE: /
steps:
- uses: actions/checkout@v2
with:
path: '/volume'
env:
GITHUB_WORKSPACE: /
- name: Link rust-std-skyline src
run: ln -s $XARGO_RUST_SRC ../rust-std-skyline-squashed/src
- name: Build release NRO
run: cargo skyline build --release
working-directory: /volume/UltimateTrainingModpack
- name: Upload plugin artifact
uses: actions/upload-artifact@v2
with:
name: plugin
path: /volume/UltimateTrainingModpack/target/aarch64-skyline-switch/release/libtraining_modpack.nro
path: target/aarch64-skyline-switch/release/libtraining_modpack.nro
upload:
runs-on: ubuntu-latest
needs: