Skip to content

Commit 840c930

Browse files
committed
fix: workflow not working
1 parent fac2801 commit 840c930

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/script.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ jobs:
7171
- name: Publish Release
7272
if: env.new_version != ''
7373
run: |
74-
release_id=$(jq --raw-output .id "$GITHUB_ENV_PATH/../create_release/response.json")
74+
release_id="${{ steps.create_release.outputs.id }}"
7575
curl \
7676
-X PATCH \
7777
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
7878
-H "Content-Type: application/json" \
7979
--data '{"draft": false}' \
80-
"https://api.github.com/repos/${{ github.repository }}/releases/$release_id"
80+
"https://api.github.com/repos/${{ github.repository }}/releases/$release_id"

0 commit comments

Comments
 (0)