YML: Explicitly set Artifact path

This commit is contained in:
cypress 2023-12-27 16:59:40 -05:00
parent 82473b34da
commit 729f5c25fb

View file

@ -51,8 +51,13 @@ jobs:
- name: Wait for GitHub to keep up.. - name: Wait for GitHub to keep up..
run: sleep 5s run: sleep 5s
shell: bash shell: bash
- name: Make Artifact Directory
run: |
mkdir /artifacts/
- name: Download Artifacts - name: Download Artifacts
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
with:
path: /artifacts/
- 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')"
@ -86,7 +91,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.zip asset_path: /artifacts/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
@ -95,7 +100,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.zip asset_path: /artifacts/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