From 9ab0114a1df646f45625c3dd47a4ea85e092b2a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Smoczy=C5=84ski?= Date: Mon, 26 Jul 2021 22:44:05 +0200 Subject: [PATCH] github: fix release token --- .github/workflows/releases.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/releases.yaml b/.github/workflows/releases.yaml index 89c494b3d4576ada7da3cc61549898b31ec237a1..75b5b9318171de245d9b1a08d8ef0575e671306b 100644 --- a/.github/workflows/releases.yaml +++ b/.github/workflows/releases.yaml @@ -11,7 +11,7 @@ jobs: - name: "Check Out" uses: actions/checkout@v2 with: - token: ${{ secrets.GitHub_PAT }} + token: ${{ secrets.RELEASE_TOKEN }} submodules: recursive fetch-depth: 0 - name: "Style checking" @@ -52,7 +52,7 @@ jobs: id: create_release uses: actions/create-release@v1 env: - GITHUB_TOKEN: ${{ secrets.GitHub_PAT }} + GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} with: tag_name: ${{ github.ref }} release_name: ${{ github.ref }} @@ -63,7 +63,7 @@ jobs: id: upload-stanalone-package uses: actions/upload-release-asset@v1.0.2 env: - GITHUB_TOKEN: ${{ secrets.GitHub_PAT }} + GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} # here we have to use relative path with starting "./" @@ -74,7 +74,7 @@ jobs: id: upload-update-package uses: actions/upload-release-asset@v1.0.2 env: - GITHUB_TOKEN: ${{ secrets.GitHub_PAT }} + GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} # here we have to use relative path with starting "./"