From 0324a92037f1c830fa1c9e440024211d423dbea5 Mon Sep 17 00:00:00 2001 From: Ivan Potiienko Date: Mon, 31 Aug 2026 22:28:13 +0200 Subject: Make release automation resilient to token expiry --- .github/workflows/package-win.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.github/workflows/package-win.yml') diff --git a/.github/workflows/package-win.yml b/.github/workflows/package-win.yml index 4a7a9cf..53ea743 100644 --- a/.github/workflows/package-win.yml +++ b/.github/workflows/package-win.yml @@ -37,7 +37,7 @@ jobs: id: get_tag shell: pwsh env: - GH_TOKEN: ${{ secrets.RELEASE_TOKEN }} + GH_TOKEN: ${{ github.token }} run: | $TAG = "${{ inputs.tag_name }}" if (-not $TAG) { $TAG = "${{ github.event.release.tag_name }}" } @@ -57,7 +57,7 @@ jobs: - name: Download Release Assets env: - GH_TOKEN: ${{ secrets.RELEASE_TOKEN }} + GH_TOKEN: ${{ github.token }} run: | $TAG = "${{ steps.get_tag.outputs.tag }}" $Version = "${{ steps.get_version.outputs.version }}" @@ -268,7 +268,7 @@ jobs: - name: Upload Installer to Release env: - GH_TOKEN: ${{ secrets.RELEASE_TOKEN }} + GH_TOKEN: ${{ github.token }} run: | $TAG = "${{ steps.get_tag.outputs.tag }}" $Version = "${{ steps.get_version.outputs.version }}" -- cgit v1.3-2-g0d8e