From 1d352e285adbf432d31c389f9b6f660cf959b39f Mon Sep 17 00:00:00 2001 From: Federico Nafria Date: Mon, 22 Sep 2025 11:02:14 +0200 Subject: [PATCH] fix: use gh cli to delete nightly release --- .github/workflows/ci-and-release.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-and-release.yml b/.github/workflows/ci-and-release.yml index 1c064d0..6a0456a 100644 --- a/.github/workflows/ci-and-release.yml +++ b/.github/workflows/ci-and-release.yml @@ -153,13 +153,10 @@ jobs: sha256sum * > checksums.txt - name: Delete old nightly release - uses: dev-drpr/delete-tag-and-release@v0.2.1 - with: - tag_name: nightly - delete_repo_tag: true env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - continue-on-error: true + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + gh release delete nightly --cleanup-tag -y || true - name: Create GitHub Release uses: softprops/action-gh-release@v2