Commit fe76164 1 parent bba4f60 commit fe76164 Copy full SHA for fe76164
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 56
56
- name : Create a release in weave-binaries
57
57
run : |
58
58
RELEASE_ID=$(curl -s -X POST \
59
- -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
59
+ -H "Authorization: token ${{ secrets.WEAVE_BINARIES_GITHUB_TOKEN }}" \
60
60
-H "Accept: application/vnd.github.v3+json" \
61
61
https://api.github.com/repos/initia-labs/weave-binaries/releases \
62
62
-d '{
@@ -70,10 +70,10 @@ jobs:
70
70
71
71
for file in build/darwin-amd64/weave build/darwin-arm64/weave build/linux-amd64/weave build/linux-arm64/weave; do
72
72
curl -X POST \
73
- -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
73
+ -H "Authorization: token ${{ secrets.WEAVE_BINARIES_GITHUB_TOKEN }}" \
74
74
-H "Content-Type: application/octet-stream" \
75
75
--data-binary @$file \
76
76
"https://uploads.github.com/repos/initia-labs/weave-binaries/releases/$RELEASE_ID/assets?name=$(basename $file)"
77
77
done
78
78
env :
79
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
79
+ WEAVE_BINARIES_GITHUB_TOKEN : ${{ secrets.WEAVE_BINARIES_GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments