1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2025-03-14 02:16:10 +00:00

Fix GitHub Action to include libparam_hook.nro & libnro_hook.nro (#716)

* Update workflow

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

* Clean up workflow
This commit is contained in:
Austin Traver 2025-01-06 22:14:24 -08:00 committed by GitHub
parent e88ec7a3aa
commit b65dcfa0a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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/delete-tag-and-release@v0.2.1