diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9eda8562..ee1e65ad 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,11 +19,12 @@ jobs: options: --health-cmd "curl -Iks https://localhost:8443" --health-interval 10s --health-timeout 5s --health-retries 5 steps: - name: Checkout - uses: actions/checkout@f1d3225b5376a0791fdee5a0e8eac5289355e43a # pin@v2 + uses: actions/checkout@v4 - name: Java setup - uses: actions/setup-java@e54a62b3df9364d4b4c1c29c7225e57fe605d7dd # pin@v1 + uses: actions/setup-java@v3 with: java-version: 17 + distribution: temurin - name: Cache uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # pin@v2 with: diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 748db9e3..2621d572 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -46,6 +46,7 @@ jobs: uses: actions/setup-java@v3 with: java-version: 17 + distribution: temurin gpg-private-key: ${{ secrets.MAVEN_CENTRAL_GPG_SIGNING_KEY_SEC }} gpg-passphrase: MAVEN_CENTRAL_GPG_PASSPHRASE - name: Deploy SNAPSHOT / Release