From ca96a047c295480a839771af2e3560db939576be Mon Sep 17 00:00:00 2001 From: Henk Wiedig Date: Fri, 22 Nov 2024 16:56:17 +0100 Subject: [PATCH] use env token --- .github/workflows/build.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d77cd53..7125a9e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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"