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:
parent
fd4c76db5c
commit
9b670bd9de
1 changed files with 3 additions and 8 deletions
11
.github/workflows/rust.yml
vendored
11
.github/workflows/rust.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue