Skip to content

Commit 71c920a

Browse files
committed
Bearer
1 parent ca96a04 commit 71c920a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
- name: Delete existing latest release
5656
if: github.ref == 'refs/heads/add-jetson-action' && github.event_name == 'push'
5757
run: |
58-
curl -s -X DELETE -H "Authorization: token $GITHUB_TOKEN" \
58+
curl -s -X DELETE -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
5959
"https://api.github.com/repos/${{ github.repository }}/releases/tags/latest" || echo "No existing latest release"
6060
6161
- name: Upload latest

0 commit comments

Comments
 (0)