Skip to content

Commit 77214ec

Browse files
committed
sette riktig versjoner på curl jobb
1 parent a03328c commit 77214ec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/createRelease.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,10 @@ jobs:
164164
165165
# Create the release and get the response with the http status code on the last line
166166
response=$(curl -s -w "\n%{http_code}" \
167-
-H "Accept: application/vnd.github.v3+json" \
167+
-X POST \
168+
-H "Accept: application/vnd.github+json" \
168169
-H "Authorization: token ${GH_AUTH_TOKEN}" \
170+
-H "X-GitHub-Api-Version: 2022-11-28" \
169171
-d "$json_payload" \
170172
https://api.github.com/repos/${{ github.repository }}/releases)
171173

0 commit comments

Comments
 (0)