YML: ..don't make it at root though

This commit is contained in:
cypress 2023-12-27 17:21:59 -05:00
parent 8a1a51e0d3
commit 6c66210919

View file

@ -57,6 +57,10 @@ jobs:
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
with: with:
path: ./ path: ./
- name: Turn Artifacts into .ZIP archives
run: |
zip -r vita-nzp-vpk.zip vita-nzp-vpk/nzp.vpk
zip -r nx-nzp-nro.zip nx-nzp-nro/nzportable.nro nx-nzp-nro/nzportable.nacp
- name: Generate Build Date - name: Generate Build Date
id: date id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d-%H-%M-%S')" run: echo "::set-output name=date::$(date +'%Y-%m-%d-%H-%M-%S')"
@ -90,7 +94,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
upload_url: ${{ steps.create_release.outputs.upload_url }} upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./vita-nzp-vpk asset_path: ./vita-nzp-vpk.zip
asset_name: vita-nzp-vpk.zip asset_name: vita-nzp-vpk.zip
asset_content_type: application/zip asset_content_type: application/zip
- name: Upload NX Archive - name: Upload NX Archive
@ -99,7 +103,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
upload_url: ${{ steps.create_release.outputs.upload_url }} upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./nx-nzp-nro asset_path: ./nx-nzp-nro.zip
asset_name: nx-nzp-nro.zip asset_name: nx-nzp-nro.zip
asset_content_type: application/zip asset_content_type: application/zip
- name: Publish Release - name: Publish Release