From 79064089b2857de04471e7ee90a9ba1bc557049e Mon Sep 17 00:00:00 2001 From: VM <112189277+sysvm@users.noreply.github.com> Date: Tue, 28 Mar 2023 21:55:47 +0800 Subject: [PATCH] ci: fix release.yml uncorrect env var name (#259) Co-authored-by: DylanYong --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 724e14a26..5ca98aed1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,7 +41,7 @@ jobs: restore-keys: | ${{ runner.os }}-go- - name: Setup GitHub Token - run: git config --global url.https://${{ secrets.GH_ACCESS_SECRET }}@github.com/.insteadOf https://github.com/ + run: git config --global url.https://${{ secrets.GH_ACCESS_TOKEN }}@github.com/.insteadOf https://github.com/ - name: Checkout code uses: actions/checkout@v3 @@ -134,7 +134,7 @@ jobs: - name: Create Release uses: softprops/action-gh-release@v1 env: - GITHUB_TOKEN: ${{ secrets.GH_ACCESS_SECRET }} # This token is provided by Actions, you do not need to create your own token + GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }} # This token is provided by Actions, you do not need to create your own token with: tag_name: ${{ env.RELEASE_VERSION}} release_name: ${{ env.RELEASE_VERSION}}