From 8ca490bd254c71813e02c53fba365a8f41fd8dfa Mon Sep 17 00:00:00 2001 From: John Freeman Date: Wed, 13 Mar 2024 13:27:09 -0500 Subject: [PATCH 1/2] Update remaining actions --- .github/workflows/clang-format.yml | 4 ++-- .github/workflows/doxygen.yml | 2 +- .github/workflows/levelization.yml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index 802748e84f0..bde1ce293e2 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -8,7 +8,7 @@ jobs: env: CLANG_VERSION: 10 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install clang-format run: | codename=$( lsb_release --codename --short ) @@ -30,7 +30,7 @@ jobs: git diff --exit-code | tee "clang-format.patch" - name: Upload patch if: failure() && steps.assert.outcome == 'failure' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 continue-on-error: true with: name: clang-format.patch diff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml index 6607ae59d42..764635d9279 100644 --- a/.github/workflows/doxygen.yml +++ b/.github/workflows/doxygen.yml @@ -17,7 +17,7 @@ jobs: image: docker://rippleci/rippled-ci-builder:2944b78d22db steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: check environment run: | echo ${PATH} | tr ':' '\n' diff --git a/.github/workflows/levelization.yml b/.github/workflows/levelization.yml index 3128513f667..9455d095c79 100644 --- a/.github/workflows/levelization.yml +++ b/.github/workflows/levelization.yml @@ -8,7 +8,7 @@ jobs: env: CLANG_VERSION: 10 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Check levelization run: Builds/levelization/levelization.sh - name: Check for differences @@ -18,7 +18,7 @@ jobs: git diff --exit-code | tee "levelization.patch" - name: Upload patch if: failure() && steps.assert.outcome == 'failure' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 continue-on-error: true with: name: levelization.patch From 89c6cf5fa75159409bf03da059562b8215001a29 Mon Sep 17 00:00:00 2001 From: John Freeman Date: Wed, 13 Mar 2024 14:44:51 -0500 Subject: [PATCH 2/2] Downgrade {upload,download}-artifact action to v3 --- .github/workflows/clang-format.yml | 2 +- .github/workflows/levelization.yml | 2 +- .github/workflows/nix.yml | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index bde1ce293e2..8c915ec00ff 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -30,7 +30,7 @@ jobs: git diff --exit-code | tee "clang-format.patch" - name: Upload patch if: failure() && steps.assert.outcome == 'failure' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 continue-on-error: true with: name: clang-format.patch diff --git a/.github/workflows/levelization.yml b/.github/workflows/levelization.yml index 9455d095c79..285e810ba9a 100644 --- a/.github/workflows/levelization.yml +++ b/.github/workflows/levelization.yml @@ -18,7 +18,7 @@ jobs: git diff --exit-code | tee "levelization.patch" - name: Upload patch if: failure() && steps.assert.outcome == 'failure' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 continue-on-error: true with: name: levelization.patch diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index 73fc835361e..e213599fc14 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -83,7 +83,7 @@ jobs: with: configuration: ${{ matrix.configuration }} - name: upload archive - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: ${{ matrix.platform }}-${{ matrix.compiler }}-${{ matrix.configuration }} path: conan.tar @@ -112,7 +112,7 @@ jobs: build_dir: .build steps: - name: download cache - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v3 with: name: ${{ matrix.platform }}-${{ matrix.compiler }}-${{ matrix.configuration }} - name: extract cache @@ -161,7 +161,7 @@ jobs: build_dir: .build steps: - name: download cache - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v3 with: name: ${{ matrix.platform }}-${{ matrix.compiler }}-${{ matrix.configuration }} - name: extract cache @@ -201,7 +201,7 @@ jobs: run: | mv "${build_dir}/coverage.xml" ./ - name: archive coverage report - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: coverage.xml path: coverage.xml