diff --git a/.github/workflows/deploy-on-release.yml b/.github/workflows/deploy-on-release.yml index 798a5af497..84ae861b38 100644 --- a/.github/workflows/deploy-on-release.yml +++ b/.github/workflows/deploy-on-release.yml @@ -13,7 +13,7 @@ jobs: uses: actions/setup-java@v3 with: distribution: 'temurin' - java-version: '17' + java-version: '21' java-package: jdk settings-path: ${{ github.workspace }} # location for the settings.xml file - name: Deploy to GitHub Package Registry diff --git a/.github/workflows/deploy_prerelease.yml b/.github/workflows/deploy_prerelease.yml index 2012d09bee..deb6a2d220 100644 --- a/.github/workflows/deploy_prerelease.yml +++ b/.github/workflows/deploy_prerelease.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: ['17'] + java: ['21'] name: Deploying Towny Prerelease steps: - name: checkout repo content @@ -24,7 +24,7 @@ jobs: - name: compile towny with maven env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: mvn -B clean package -P no-apidoc -DskipTests=false + run: mvn -B clean package -P -DskipTests=false - name: setup PHP uses: shivammathur/setup-php@v2 with: