diff --git a/.github/workflows/assemble-and-release.yml b/.github/workflows/assemble-and-release.yml index 29bbc7f..50797fe 100644 --- a/.github/workflows/assemble-and-release.yml +++ b/.github/workflows/assemble-and-release.yml @@ -47,6 +47,7 @@ jobs: - PC: Anywhere, or where your `nzportable.exe` from an existing install is. - PSP: `/PSP/GAME/` - VITA: `/ux0:` (archive contains a `data` folder). + - 3DS: `/3ds/` draft: true prerelease: false - name: Upload NX Data @@ -85,6 +86,15 @@ jobs: asset_path: ./tmp/vita-nzp-assets.zip asset_name: vita-nzp-assets.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 uses: StuYarrow/publish-release@v1 env: diff --git a/tools/assemble-assets.sh b/tools/assemble-assets.sh index c9dd75c..3a50a06 100755 --- a/tools/assemble-assets.sh +++ b/tools/assemble-assets.sh @@ -1,5 +1,5 @@ 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 psp/* tmp/psp/ cp -r tmp/nzp/* tmp/psp/nzportable/nzp/ @@ -16,6 +16,11 @@ cp -r tmp/nzp/* tmp/vita/data/nzp/nzp/ cd tmp/vita/ zip -r ../vita-nzp-assets.zip ./* 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 tmp/nzp/* tmp/pc/nzp/ cd tmp/pc/