Skip to content

Commit

Permalink
Fix setup of GitHub token
Browse files Browse the repository at this point in the history
  • Loading branch information
p3k committed May 30, 2024
1 parent 656a023 commit dd0bdc6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
build:
runs-on: ubuntu-latest

env:
GH_TOKEN: ${{ github.token }}

steps:
- uses: actions/checkout@v4

Expand All @@ -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" \
Expand Down

0 comments on commit dd0bdc6

Please sign in to comment.