From 35953e5731a62c86294dbfa4e8e16429d4b16c34 Mon Sep 17 00:00:00 2001 From: k0d3r1s Date: Fri, 30 Aug 2024 17:22:42 +0300 Subject: [PATCH] fix: update workflow --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 70ba5a1..821e0ae 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -122,12 +122,16 @@ jobs: - name: Delete previous nightly release (for nightly builds) if: github.event_name == 'push' + env: + GH_TOKEN: ${{ secrets.GH_TOKEN }} run: | gh release delete nightly --yes || true gh tag delete nightly || true - name: Create new nightly release (for nightly builds) if: github.event_name == 'push' + env: + GH_TOKEN: ${{ secrets.GH_TOKEN }} run: | gh release create nightly --notes "Nightly build based on master branch" --title "nightly" --target master --prerelease