diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4754f5c1..5f34d5cb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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" \