Skip to content

Commit

Permalink
correctly use github token from env
Browse files Browse the repository at this point in the history
  • Loading branch information
max committed Sep 29, 2024
1 parent 77afd23 commit 14cb68d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ env.VERSION }}
run: |
gh auth login --with-token <<< "$GITHUB_TOKEN"
gh auth login
if gh release view "v$VERSION" >/dev/null 2>&1; then
gh release delete "v$VERSION" -y
else
Expand Down

0 comments on commit 14cb68d

Please sign in to comment.