Skip to content

Commit

Permalink
Simplify the logic to upload artifacts to release page
Browse files Browse the repository at this point in the history
  • Loading branch information
otegami committed Dec 18, 2024
1 parent 6180769 commit 62ed83b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ jobs:
merge-multiple: true
- name: Upload to release
run: |
cat ./artifacts/*.artifact > names.artifact
artifact_list=$(paste -s -d' ' names.artifact)
cd artifacts
gh release upload "${{ inputs.tag }}" ${artifact_list}
gh release upload "${{ inputs.tag }}" $(cat *.artifact)
env:
GH_TOKEN: ${{ secrets.token }}

0 comments on commit 62ed83b

Please sign in to comment.