Skip to content

Commit

Permalink
GitHub Actions upgrade actions to node 20 versions
Browse files Browse the repository at this point in the history
  • Loading branch information
msgilligan committed Jan 31, 2024
1 parent 10e7252 commit b2548cb
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/graalvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@ 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:
java-version: ${{ matrix.java-version }}
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') }}
restore-keys: ${{ runner.os }}-gradle
- 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
2 changes: 1 addition & 1 deletion .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
10 changes: 5 additions & 5 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand All @@ -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
8 changes: 4 additions & 4 deletions .github/workflows/regtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,24 @@ 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') }}
restore-keys: ${{ runner.os }}-gradle
- 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
Expand Down

0 comments on commit b2548cb

Please sign in to comment.