diff --git a/.github/workflows/build_deploy_dev.yml b/.github/workflows/build_deploy_dev.yml index 54b51f8..199f597 100644 --- a/.github/workflows/build_deploy_dev.yml +++ b/.github/workflows/build_deploy_dev.yml @@ -17,13 +17,14 @@ jobs: repository: 'learningpulse/server' ref: 'dev' token: '${{ secrets.token }}' - - - name: Set up JDK 21 - uses: https://github.com/actions/setup-java@v3 + - name: 'Set up java 22' + uses: https://github.com/oracle-actions/setup-java@v1 with: - java-version: "22" - distribution: "temurin" - cache: maven + website: oracle.com + release: 22 + version: 17.0.10 + - name: "Setup maven" + uses: https://github.com/s4u/setup-maven-action@1 - name: Build with Maven run: mvn -Dtoken=${{ secrets.token }} clean compile jib:build -e