From 297498a893895ab16373c16056c9cae91dac4b91 Mon Sep 17 00:00:00 2001 From: Strongest Number 9 <16169054+StrongestNumber9@users.noreply.github.com> Date: Thu, 14 Mar 2024 17:16:38 +0200 Subject: [PATCH] Setup github packages properly (#5) * Setup github packages properly * Fixes java version --- .github/workflows/upload_release.yaml | 6 ++++++ 1 file changed, 6 insertions(+) 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: