Update release.yml to no longer use github PAT
This commit is contained in:
parent
1d148fc63e
commit
4eccb0100e
1 changed files with 5 additions and 1 deletions
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
@ -6,6 +6,10 @@ on:
|
||||||
description: 'Release channel'
|
description: 'Release channel'
|
||||||
required: true
|
required: true
|
||||||
default: 'release'
|
default: 'release'
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
@ -31,7 +35,7 @@ jobs:
|
||||||
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
|
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
|
||||||
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
|
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
|
||||||
CURSEFORGE_API_KEY: ${{ secrets.CURSEFORGE_API_KEY }}
|
CURSEFORGE_API_KEY: ${{ secrets.CURSEFORGE_API_KEY }}
|
||||||
GITHUB_TOKEN: ${{ secrets.GH_API_KEY }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
CROWDIN_KEY: ${{ secrets.CROWDIN_KEY }}
|
CROWDIN_KEY: ${{ secrets.CROWDIN_KEY }}
|
||||||
CHANGELOG: ${{ steps.changelog.outputs.changelog }}
|
CHANGELOG: ${{ steps.changelog.outputs.changelog }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue