From c60c506133c2c612bca384d500ff92a17f257f3c Mon Sep 17 00:00:00 2001 From: jasonli-improving <155494523+jasonli-improving@users.noreply.github.com> Date: Thu, 1 Feb 2024 13:25:00 -0800 Subject: [PATCH] chore: update GitHub Actions (#548) --- .github/workflows/main.yml | 2 +- .github/workflows/maven_release.yml | 6 +++--- .github/workflows/maven_snapshot.yml | 6 +++--- .github/workflows/performance.yml | 6 +++--- .github/workflows/release_draft.yml | 6 +++--- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ba9147623..3201dc4e4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Clone Repository' - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 50 - name: 'Set up JDK 8' diff --git a/.github/workflows/maven_release.yml b/.github/workflows/maven_release.yml index 86656a78d..b187e16a1 100644 --- a/.github/workflows/maven_release.yml +++ b/.github/workflows/maven_release.yml @@ -11,11 +11,11 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Clone Repository' - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 50 - name: 'Set up JDK 8' - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: 8 - name: 'Build Driver' @@ -27,7 +27,7 @@ jobs: base64 -d ~/.gradle/secring.gpg.b64 > ~/.gradle/secring.gpg - name: 'Install GPG Secret Key' id: import_gpg - uses: crazy-max/ghaction-import-gpg@v4 + uses: crazy-max/ghaction-import-gpg@v6 with: gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} passphrase: ${{ secrets.GPG_PASSPHRASE }} diff --git a/.github/workflows/maven_snapshot.yml b/.github/workflows/maven_snapshot.yml index e2f026448..60e20cec9 100644 --- a/.github/workflows/maven_snapshot.yml +++ b/.github/workflows/maven_snapshot.yml @@ -12,11 +12,11 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Clone Repository' - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 50 - name: 'Set up JDK 8' - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: 8 - name: 'Build Driver' @@ -28,7 +28,7 @@ jobs: base64 -d ~/.gradle/secring.gpg.b64 > ~/.gradle/secring.gpg - name: 'Install GPG Secret Key' id: import_gpg - uses: crazy-max/ghaction-import-gpg@v4 + uses: crazy-max/ghaction-import-gpg@v6 with: gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} passphrase: ${{ secrets.GPG_PASSPHRASE }} diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index 61777aa5d..c2429e318 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -14,11 +14,11 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Clone Repository' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 50 - name: 'Set up JDK 8' - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'corretto' java-version: 8 @@ -53,7 +53,7 @@ jobs: AWS_SESSION_TOKEN: ${{ env.TEMP_AWS_SESSION_TOKEN }} - name: 'Archive junit results' if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: 'performance-report' path: build/reports/tests/ diff --git a/.github/workflows/release_draft.yml b/.github/workflows/release_draft.yml index 59aa68cf7..04b8b47a2 100644 --- a/.github/workflows/release_draft.yml +++ b/.github/workflows/release_draft.yml @@ -19,11 +19,11 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Clone Repository' - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 50 - name: 'Set up JDK 8' - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: 8 - name: 'Build Driver' @@ -40,7 +40,7 @@ jobs: echo "$RELEASE_DETAILS" > RELEASE_DETAILS.md - name: 'Install GPG Secret Key' id: import_gpg - uses: crazy-max/ghaction-import-gpg@v4 + uses: crazy-max/ghaction-import-gpg@v6 with: gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} passphrase: ${{ secrets.GPG_PASSPHRASE }}