From 43e7c00fddf76b25fff05249fac09bc0941466fa Mon Sep 17 00:00:00 2001 From: DanielSvoboda Date: Mon, 23 Sep 2024 15:14:55 -0300 Subject: [PATCH] fix pre-release token (#1043) --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8c5bc479..f1b8435a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -403,7 +403,7 @@ jobs: - name: Create Pre-Release on GitHub uses: ncipollo/release-action@v1 with: - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.SHADPS4_TOKEN_REPO }} name: "Pre-release-shadPS4-${{ needs.get-info.outputs.date }}-${{ needs.get-info.outputs.shorthash }}" tag: "Pre-release-shadPS4-${{ needs.get-info.outputs.date }}-${{ needs.get-info.outputs.shorthash }}" draft: false @@ -413,7 +413,7 @@ jobs: - name: Delete old pre-releases and tags env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.SHADPS4_TOKEN_REPO }} run: | current_date="${{ needs.get-info.outputs.date }}" api_url="https://api.github.com/repos/${{ github.repository }}/releases"