Skip to content

Commit

Permalink
fix pre-release token (#1043)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSvoboda authored Sep 23, 2024
1 parent 4ba19a0 commit 43e7c00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit 43e7c00

Please sign in to comment.