diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 47d5e91e5..169f1cbe9 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Validate Gradle Wrapper uses: gradle/wrapper-validation-action@v1 - name: Set up JDK 11 @@ -19,5 +19,6 @@ jobs: with: distribution: 'temurin' java-version: 11 + check-latest: true - name: Build with Gradle run: ./gradlew build diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a7b7a39d6..8e4b4e5bb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Validate Gradle Wrapper uses: gradle/wrapper-validation-action@v1 - name: Set up JDK 17 @@ -19,6 +19,7 @@ jobs: with: distribution: 'temurin' java-version: 17 + check-latest: true - name: Publish env: HANGAR_TOKEN: ${{ secrets.HANGAR_TOKEN }}