mirror of
https://github.com/RetroDECK/Vita3K-bin.git
synced 2025-01-19 04:35:39 +00:00
Refactor asset upload in fetch-release workflow to use a loop for individual file uploads
This commit is contained in:
parent
f83a42a333
commit
7a2da98d66
12
.github/workflows/fetch-release.yml
vendored
12
.github/workflows/fetch-release.yml
vendored
|
@ -62,10 +62,10 @@ jobs:
|
|||
prerelease: false
|
||||
|
||||
- name: Upload assets to the new release
|
||||
uses: actions/upload-release-asset@v1
|
||||
run: |
|
||||
for file in artifacts/*; do
|
||||
echo "Uploading $file..."
|
||||
gh release upload ${{ env.tag_name }} "$file" --clobber
|
||||
done
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: artifacts/*
|
||||
asset_content_type: application/octet-stream
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in a new issue