diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 95f00bc..33f50f0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,8 @@ on: jobs: build: runs-on: ubuntu-latest + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - uses: actions/checkout@v3 - uses: actions/setup-java@v3 @@ -21,13 +23,10 @@ jobs: - name: Publish run: ./gradlew publishAllPublicationsToGithubRepository env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} VERSION: ${{ github.ref }} - name: Create Release id: create_release uses: softprops/action-gh-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: draft: true prerelease: false