diff --git a/.github/workflows/buildAndRelease.yml b/.github/workflows/buildAndRelease.yml index c2b2152..c67e4ff 100755 --- a/.github/workflows/buildAndRelease.yml +++ b/.github/workflows/buildAndRelease.yml @@ -28,6 +28,8 @@ jobs: ${{ runner.os }}-maven- - name: Build with Maven run: mvn -B clean deploy -s maven-github-settings.xml --file pom.xml + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/')