Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7ff3af5044 | |||
| 711a42a2dc | |||
| e27b45620d |
1 changed files with 3 additions and 3 deletions
|
|
@ -18,7 +18,7 @@ jobs:
|
|||
- name: ⚙️ Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.24
|
||||
go-version: 1.25
|
||||
|
||||
- name: ⚙️ Install dependencies
|
||||
run: |
|
||||
|
|
@ -34,7 +34,7 @@ jobs:
|
|||
|
||||
echo "Creating release for ${{ env.GITHUB_REPOSITORY}} with tag ${{ env.GITHUB_REF_NAME }}"
|
||||
|
||||
REQUEST=$(curl --request POST \
|
||||
REQUEST=$(curl --fail --request POST \
|
||||
--url ${{ env.GITHUB_API_URL }}/repos/${{ env.GITHUB_REPOSITORY }}/releases \
|
||||
--header 'Authorization: token ${{ secrets.GIT_TOKEN }}' \
|
||||
--header 'content-type: application/json' \
|
||||
|
|
@ -46,7 +46,7 @@ jobs:
|
|||
|
||||
echo "Uploading release asset for Release ID ${RELEASE_ID}"
|
||||
|
||||
curl --request POST \
|
||||
curl --fail --request POST \
|
||||
--url ${{ env.GITHUB_API_URL }}/repos/${{ env.GITHUB_REPOSITORY }}/releases/${RELEASE_ID}/assets?name=${{ env.build_name }} \
|
||||
--header 'Authorization: token ${{ secrets.GIT_TOKEN }}' \
|
||||
-F 'attachment=@${{ env.build_name}}'
|
||||
Loading…
Reference in a new issue