From 67ad63605d147dd74531f95fb022e09e2c9f21f2 Mon Sep 17 00:00:00 2001 From: Jakub Senko Date: Mon, 11 Mar 2024 17:06:20 +0100 Subject: [PATCH] chore: update actions in GH workflow --- .github/workflows/release-phase3.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-phase3.yaml b/.github/workflows/release-phase3.yaml index 15c226c..5830cc8 100644 --- a/.github/workflows/release-phase3.yaml +++ b/.github/workflows/release-phase3.yaml @@ -37,10 +37,10 @@ jobs: echo "OPERATOR_VERSION=$(make get-variable-operator-version)" >> "$GITHUB_ENV" - name: Set up JDK 11 - uses: AdoptOpenJDK/install-jdk@v1 + uses: actions/setup-java@v4 with: - version: "11" - architecture: x64 + distribution: temurin + java-version: "11" - name: Set up settings.xml run: | @@ -50,7 +50,7 @@ jobs: echo "${{ secrets.OSSRH_ID }}${{ secrets.OSSRH_USERNAME }}${{ secrets.OSSRH_TOKEN }}${{ secrets.OSSRH_ID }}truegpg${{ secrets.GPG_PASSPHRASE}}" > /home/runner/.m2/settings.xml - name: Import GPG Key - uses: crazy-max/ghaction-import-gpg@v1 + uses: crazy-max/ghaction-import-gpg@v6 env: GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}