mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2024-12-28 18:46:06 +00:00
fix pre-release token (#1043)
This commit is contained in:
parent
4ba19a02b0
commit
43e7c00fdd
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue