diff --git a/.github/workflows/upload_release.yaml b/.github/workflows/upload_release.yaml index 7468a3e..fc1c4b2 100644 --- a/.github/workflows/upload_release.yaml +++ b/.github/workflows/upload_release.yaml @@ -38,6 +38,12 @@ jobs: MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }} MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} + - name: Setup GitHub Packages + uses: actions/setup-java@v2 + with: + java-version: 8.0.292+10 + distribution: 'adopt' + - name: Publish to GitHub Packages run: mvn --batch-mode -Drevision=${{ github.event.release.tag_name }} -Dsha1= -Dchangelist= clean deploy -Ppublish-github-packages env: