Fix setup of GitHub token

This commit is contained in:
Tobi Schäfer 2024-05-30 20:03:37 +02:00
parent 656a023b27
commit dd0bdc62ec
Signed by: tobi
GPG key ID: 91FAE6FE2EBAC4C8

View file

@ -12,6 +12,9 @@ jobs:
build:
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v4
@ -28,8 +31,6 @@ jobs:
run: ./gradlew assembleDist
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create "$GITHUB_REF_NAME" \
--repo "$GITHUB_REPOSITORY" \