Skip to content

Commit

Permalink
fix: Correct asset name in release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
tianfeng92 committed Feb 13, 2024
1 parent ffaec15 commit 8bad377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ jobs:
ASSET_ID=$(curl -s -H "Authorization: token ${{ github.token }}" \
https://api.github.com/repos/${{ github.repository }}/releases | \
jq -r "[.[] | select(.body | contains(\"- jobId: ${{ github.run_id }}\\n\"))] | first | .assets | .[] | select(.name == \"sauce-testcafe-macos.zip\") | .id | select(. != null)")
jq -r "[.[] | select(.body | contains(\"- jobId: ${{ github.run_id }}\\n\"))] | first | .assets | .[] | select(.name == \"sauce-playwright-macos.zip\") | .id | select(. != null)")
echo "version=${VERSION}" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 8bad377

Please sign in to comment.