Skip to content

Commit

Permalink
Update GenPatches.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AntogamerYT authored Aug 19, 2024
1 parent 425e503 commit 9032745
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/GenPatches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
branches:
- main

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -32,7 +35,7 @@ jobs:
- name: "Create GitHub release"
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{github.token}}
with:
tag_name: ${{ env.TAG_NAME }}
release_name: Release ${{ env.TAG_NAME }}
Expand All @@ -41,7 +44,7 @@ jobs:

- name: "Upload individual IPS files to release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{github.token}}
run: |
for file in Out/*.ips; do
gh release upload ${{ env.TAG_NAME }} "$file" --clobber
Expand All @@ -50,4 +53,4 @@ jobs:
- name: "Upload zip file to release"
run: gh release upload ${{ env.TAG_NAME }} Out/all_patches.zip --clobber
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{github.token}}

0 comments on commit 9032745

Please sign in to comment.