Skip to content

Commit

Permalink
Fix GitHub Action to include libparam_hook.nro & libnro_hook.nro (#…
Browse files Browse the repository at this point in the history
…716)

* Update workflow

* Fix GitHub Action to include libparam_hook.nro & libnro_hook.nro

* Clean up workflow
  • Loading branch information
austintraver authored Jan 7, 2025
1 parent e88ec7a commit b65dcfa
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,21 @@ jobs:
steps:
- name: Download all artifacts
uses: actions/download-artifact@v4
with:
path: atmosphere/contents/01006A800016E000/romfs/skyline/plugins
merge-multiple: true
- name: Prepare zip
id: prepare_zip
env:
SMASH_PLUGIN_DIR: atmosphere/contents/01006A800016E000/romfs/skyline/plugins
run: |
mkdir -p ${{env.SMASH_PLUGIN_DIR}}
cp plugin/libtraining_modpack.nro ${{env.SMASH_PLUGIN_DIR}}/libtraining_modpack.nro
curl --output-dir ${{env.SMASH_PLUGIN_DIR}} https://github.com/ultimate-research/params-hook-plugin/releases/download/v13.0.3/libparam_hook.nro
curl --output-dir ${{env.SMASH_PLUGIN_DIR}} https://github.com/ultimate-research/nro-hook-plugin/releases/download/v0.4.0/libnro_hook.nro
curl \
--no-progress-meter \
--create-dirs \
--output-dir ${{env.SMASH_PLUGIN_DIR}} \
--remote-name-all \
https://github.com/ultimate-research/params-hook-plugin/releases/download/v13.0.3/libparam_hook.nro \
https://github.com/ultimate-research/nro-hook-plugin/releases/download/v0.4.0/libnro_hook.nro
zip -r training_modpack_beta.zip atmosphere
- name: Delete Release
uses: dev-drprasad/[email protected]
Expand Down

0 comments on commit b65dcfa

Please sign in to comment.