Update remaining actions (#4949)

Downgrade {upload,download}-artifact action to v3 because of unreliability with v4.
This commit is contained in:
John Freeman
2024-03-13 17:42:41 -05:00
committed by GitHub
parent 2ffead76c1
commit 2ecb851926
4 changed files with 9 additions and 9 deletions

View File

@@ -8,7 +8,7 @@ jobs:
env: env:
CLANG_VERSION: 10 CLANG_VERSION: 10
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Install clang-format - name: Install clang-format
run: | run: |
codename=$( lsb_release --codename --short ) codename=$( lsb_release --codename --short )
@@ -30,7 +30,7 @@ jobs:
git diff --exit-code | tee "clang-format.patch" git diff --exit-code | tee "clang-format.patch"
- name: Upload patch - name: Upload patch
if: failure() && steps.assert.outcome == 'failure' if: failure() && steps.assert.outcome == 'failure'
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
continue-on-error: true continue-on-error: true
with: with:
name: clang-format.patch name: clang-format.patch

View File

@@ -17,7 +17,7 @@ jobs:
image: docker://rippleci/rippled-ci-builder:2944b78d22db image: docker://rippleci/rippled-ci-builder:2944b78d22db
steps: steps:
- name: checkout - name: checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: check environment - name: check environment
run: | run: |
echo ${PATH} | tr ':' '\n' echo ${PATH} | tr ':' '\n'

View File

@@ -8,7 +8,7 @@ jobs:
env: env:
CLANG_VERSION: 10 CLANG_VERSION: 10
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Check levelization - name: Check levelization
run: Builds/levelization/levelization.sh run: Builds/levelization/levelization.sh
- name: Check for differences - name: Check for differences
@@ -18,7 +18,7 @@ jobs:
git diff --exit-code | tee "levelization.patch" git diff --exit-code | tee "levelization.patch"
- name: Upload patch - name: Upload patch
if: failure() && steps.assert.outcome == 'failure' if: failure() && steps.assert.outcome == 'failure'
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
continue-on-error: true continue-on-error: true
with: with:
name: levelization.patch name: levelization.patch

View File

@@ -83,7 +83,7 @@ jobs:
with: with:
configuration: ${{ matrix.configuration }} configuration: ${{ matrix.configuration }}
- name: upload archive - name: upload archive
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v3
with: with:
name: ${{ matrix.platform }}-${{ matrix.compiler }}-${{ matrix.configuration }} name: ${{ matrix.platform }}-${{ matrix.compiler }}-${{ matrix.configuration }}
path: conan.tar path: conan.tar
@@ -112,7 +112,7 @@ jobs:
build_dir: .build build_dir: .build
steps: steps:
- name: download cache - name: download cache
uses: actions/download-artifact@v4 uses: actions/download-artifact@v3
with: with:
name: ${{ matrix.platform }}-${{ matrix.compiler }}-${{ matrix.configuration }} name: ${{ matrix.platform }}-${{ matrix.compiler }}-${{ matrix.configuration }}
- name: extract cache - name: extract cache
@@ -161,7 +161,7 @@ jobs:
build_dir: .build build_dir: .build
steps: steps:
- name: download cache - name: download cache
uses: actions/download-artifact@v4 uses: actions/download-artifact@v3
with: with:
name: ${{ matrix.platform }}-${{ matrix.compiler }}-${{ matrix.configuration }} name: ${{ matrix.platform }}-${{ matrix.compiler }}-${{ matrix.configuration }}
- name: extract cache - name: extract cache
@@ -201,7 +201,7 @@ jobs:
run: | run: |
mv "${build_dir}/coverage.xml" ./ mv "${build_dir}/coverage.xml" ./
- name: archive coverage report - name: archive coverage report
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v3
with: with:
name: coverage.xml name: coverage.xml
path: coverage.xml path: coverage.xml