Skip to content

Commit

Permalink
fixed .github/workflows/release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fb929 committed Feb 7, 2024
1 parent 257c689 commit 3fe7d26
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,14 +140,10 @@ jobs:
# run: find ./ -type f

# upload-release-asset {{
- name: list asset files
id: list_files
run: |
echo "FILES=$(ls *.${{ steps.release_info.outputs.FPM_OUTPUT_TYPE }})" >> GITHUB_OUTPUT
- name: Upload Release Asset
run: |
UPLOAD_URL=$(echo "${{ needs.create_release.outputs.upload_url }}" | sed 's|{?name,label}||' )
FILES=${{ steps.list_files.outputs.FILES }}
UPLOAD_URL=$( echo "${{ needs.create_release.outputs.upload_url }}" | sed 's|{?name,label}||' )
FILES=$( ls ./*.${{ steps.release_info.outputs.FPM_OUTPUT_TYPE }} )
echo "UPLOAD_URL=$UPLOAD_URL"
echo "FILES=$FILES"
for FILE in $FILES; do
Expand Down

0 comments on commit 3fe7d26

Please sign in to comment.