From f17261e7430e257f5e74a9cb03cdab85a455cac1 Mon Sep 17 00:00:00 2001 From: Evgeniy Cheban Date: Tue, 10 Dec 2024 16:50:41 +0200 Subject: [PATCH] Update github actions to latest versions Closes gh-10 --- .github/workflows/pr-build-workflow.yml | 5 +++-- .github/workflows/release-build-workflow.yml | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr-build-workflow.yml b/.github/workflows/pr-build-workflow.yml index cda0066..57aae08 100644 --- a/.github/workflows/pr-build-workflow.yml +++ b/.github/workflows/pr-build-workflow.yml @@ -8,11 +8,12 @@ jobs: if: github.repository == 'evgeniycheban/spring-data-reindexer' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK 17 - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: 17 + distribution: 'temurin' # TODO: Repo's SSL certificate has expired. # - name: Install Reindexer # run: | diff --git a/.github/workflows/release-build-workflow.yml b/.github/workflows/release-build-workflow.yml index 029d89d..2af5480 100644 --- a/.github/workflows/release-build-workflow.yml +++ b/.github/workflows/release-build-workflow.yml @@ -10,11 +10,12 @@ jobs: MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK 17 - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: 17 + distribution: 'temurin' gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} gpg-passphrase: MAVEN_GPG_PASSPHRASE