Skip to content

Commit

Permalink
use env token
Browse files Browse the repository at this point in the history
  • Loading branch information
henkwiedig committed Nov 22, 2024
1 parent 02bb907 commit ca96a04
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ jobs:
- name: Delete existing latest release
if: github.ref == 'refs/heads/add-jetson-action' && github.event_name == 'push'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
curl -s -X DELETE -H "Authorization: token $GITHUB_TOKEN" \
"https://api.github.com/repos/${{ github.repository }}/releases/tags/latest" || echo "No existing latest release"
Expand Down

0 comments on commit ca96a04

Please sign in to comment.