We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fac2801 commit 840c930Copy full SHA for 840c930
.github/workflows/script.yml
@@ -71,10 +71,10 @@ jobs:
71
- name: Publish Release
72
if: env.new_version != ''
73
run: |
74
- release_id=$(jq --raw-output .id "$GITHUB_ENV_PATH/../create_release/response.json")
+ release_id="${{ steps.create_release.outputs.id }}"
75
curl \
76
-X PATCH \
77
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
78
-H "Content-Type: application/json" \
79
--data '{"draft": false}' \
80
- "https://api.github.com/repos/${{ github.repository }}/releases/$release_id"
+ "https://api.github.com/repos/${{ github.repository }}/releases/$release_id"
0 commit comments