fix github login

This commit is contained in:
Alex Shnitman
2025-11-29 09:51:37 +02:00
parent 5a641bac7f
commit 53944244a7

View File

@@ -151,9 +151,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG_NAME: ${{ steps.date.outputs.date }} TAG_NAME: ${{ steps.date.outputs.date }}
run: | run: |
# Authenticate GitHub CLI
echo "$GITHUB_TOKEN" | gh auth login --with-token
# Check if release exists and delete it # Check if release exists and delete it
if gh release view "$TAG_NAME" &>/dev/null; then if gh release view "$TAG_NAME" &>/dev/null; then
echo "Release $TAG_NAME already exists, deleting it..." echo "Release $TAG_NAME already exists, deleting it..."