From b2548cb90f457c066c30681ac2ab9e2958aec4a3 Mon Sep 17 00:00:00 2001 From: Sean Gilligan Date: Wed, 31 Jan 2024 07:54:15 -0800 Subject: [PATCH] GitHub Actions upgrade actions to node 20 versions --- .github/workflows/graalvm.yml | 6 +++--- .github/workflows/gradle-wrapper-validation.yml | 2 +- .github/workflows/gradle.yml | 10 +++++----- .github/workflows/regtest.yml | 8 ++++---- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/graalvm.yml b/.github/workflows/graalvm.yml index 3482c4ef9..8c2937788 100644 --- a/.github/workflows/graalvm.yml +++ b/.github/workflows/graalvm.yml @@ -14,7 +14,7 @@ jobs: name: ${{ matrix.os }} JDK ${{ matrix.java-version }}.${{ matrix.distribution }} steps: - name: Git checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up GraalVM uses: graalvm/setup-graalvm@v1 with: @@ -22,7 +22,7 @@ jobs: distribution: ${{ matrix.distribution }} github-token: ${{ secrets.GITHUB_TOKEN }} - name: Cache Gradle packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} @@ -30,7 +30,7 @@ jobs: - name: Build with Gradle run: ./gradlew nativeCompile --scan --info --stacktrace - name: Upload jsonrpc tool as artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: jsonrpc-tool-${{ matrix.os }} path: consensusj-jsonrpc-cli/build/jsonrpc diff --git a/.github/workflows/gradle-wrapper-validation.yml b/.github/workflows/gradle-wrapper-validation.yml index 889aa3c39..18dc3344d 100644 --- a/.github/workflows/gradle-wrapper-validation.yml +++ b/.github/workflows/gradle-wrapper-validation.yml @@ -6,5 +6,5 @@ jobs: name: "Validate Gradle Wrapper" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: gradle/wrapper-validation-action@v1 diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 8e96edf46..3964347df 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -14,14 +14,14 @@ jobs: name: ${{ matrix.os }} JDK ${{ matrix.java }} steps: - name: Git checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: ${{ matrix.distribution }} java-version: ${{ matrix.java }} - name: Cache Gradle packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} @@ -37,12 +37,12 @@ jobs: working-directory: ./build if: runner.os == 'macOS' - name: Upload SHA256SUMS - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: SHA256SUMS-${{ matrix.os }}-${{ matrix.java }} path: build/SHA256SUMS - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: artifacts-${{ matrix.os }}-${{ matrix.java }} path: build/artifacts diff --git a/.github/workflows/regtest.yml b/.github/workflows/regtest.yml index aed74c537..1cbc0183a 100644 --- a/.github/workflows/regtest.yml +++ b/.github/workflows/regtest.yml @@ -13,16 +13,16 @@ jobs: fail-fast: false name: ${{ matrix.os }} JDK ${{ matrix.java }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Download Omni Core (Bitcoin Core superset) run: ./test-download-omnicore-ubuntu.sh - name: Set up JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: ${{ matrix.distribution }} java-version: ${{ matrix.java }} - name: Cache Gradle packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} @@ -30,7 +30,7 @@ jobs: - name: Run RegTests run: ./test-run-regtest.sh - name: Upload RegTest results as artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: regtest-consensusj-jdk${{ matrix.java }}-${{ matrix.os }}-reports