diff --git a/.github/workflows/gradle-publish.yml b/.github/workflows/gradle-publish.yml index 1cb72ca..393ed6f 100644 --- a/.github/workflows/gradle-publish.yml +++ b/.github/workflows/gradle-publish.yml @@ -7,10 +7,6 @@ name: Gradle Package -permissions: - contents: write - packages: write - pull-requests: write on: release: @@ -21,7 +17,7 @@ jobs: runs-on: ubuntu-latest permissions: - contents: read + contents: write packages: write steps: @@ -50,7 +46,5 @@ jobs: - name: Upload Release Asset uses: softprops/action-gh-release@v2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: files: build/libs/showscript.jar