Assemble 3DS assets

This commit is contained in:
Ian 2022-11-27 12:48:45 -05:00
parent fc179ea2fd
commit d6102463ad
2 changed files with 16 additions and 1 deletions

View file

@ -47,6 +47,7 @@ jobs:
- PC: Anywhere, or where your `nzportable.exe` from an existing install is. - PC: Anywhere, or where your `nzportable.exe` from an existing install is.
- PSP: `/PSP/GAME/` - PSP: `/PSP/GAME/`
- VITA: `/ux0:` (archive contains a `data` folder). - VITA: `/ux0:` (archive contains a `data` folder).
- 3DS: `/3ds/`
draft: true draft: true
prerelease: false prerelease: false
- name: Upload NX Data - name: Upload NX Data
@ -85,6 +86,15 @@ jobs:
asset_path: ./tmp/vita-nzp-assets.zip asset_path: ./tmp/vita-nzp-assets.zip
asset_name: vita-nzp-assets.zip asset_name: vita-nzp-assets.zip
asset_content_type: application/zip asset_content_type: application/zip
- name: Upload 3DS Data
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./tmp/3ds-nzp-assets.zip
asset_name: 3ds-nzp-assets.zip
asset_content_type: application/zip
- name: Publish Release - name: Publish Release
uses: StuYarrow/publish-release@v1 uses: StuYarrow/publish-release@v1
env: env:

View file

@ -1,5 +1,5 @@
cd ../ cd ../
mkdir -p tmp/{pc,psp,nx,vita,nzp} mkdir -p tmp/{pc,psp,nx,vita,3ds,nzp}
cp -r common/* tmp/nzp/ cp -r common/* tmp/nzp/
cp -r psp/* tmp/psp/ cp -r psp/* tmp/psp/
cp -r tmp/nzp/* tmp/psp/nzportable/nzp/ cp -r tmp/nzp/* tmp/psp/nzportable/nzp/
@ -16,6 +16,11 @@ cp -r tmp/nzp/* tmp/vita/data/nzp/nzp/
cd tmp/vita/ cd tmp/vita/
zip -r ../vita-nzp-assets.zip ./* zip -r ../vita-nzp-assets.zip ./*
cd ../../ cd ../../
cp -r 3ds/* tmp/3ds/
cp -r tmp/nzp/* tmp/3ds/nzportable/nzp/
cd tmp/3ds/
zip -r ../3ds-nzp-assets.zip ./*
cd ../../
cp -r pc/* tmp/pc/ cp -r pc/* tmp/pc/
cp -r tmp/nzp/* tmp/pc/nzp/ cp -r tmp/nzp/* tmp/pc/nzp/
cd tmp/pc/ cd tmp/pc/