Skip to content
Next Next commit
Use checkout/upload-artifact v3 actions with up-to-date Node
  • Loading branch information
wonglkd committed Mar 8, 2023
commit 05767590b8fbdf4fcaff3ed6d8e837963aef9d9d
4 changes: 2 additions & 2 deletions .github/workflows/build-cachelib-centos-8-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
echo === gcc -v ===
gcc -v
- name: "checkout sources"
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: "Install Prerequisites"
run: ./contrib/build.sh -S -B
- name: "Test: update-submodules"
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
- name: "build CacheLib"
# Build cachelib in debug mode (-d) and with all tests (-t)
run: ./contrib/build-package.sh -j -v -i -d -t cachelib
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cachelib-cmake-logs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-cachelib-centos-8-5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
echo === gcc -v ===
gcc -v
- name: "checkout sources"
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: "Install Prerequisites"
run: ./contrib/build.sh -S -B
- name: "Test: update-submodules"
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
- name: "build CacheLib"
# Build cachelib in debug mode (-d) and with all tests (-t)
run: ./contrib/build-package.sh -j -v -i -d -t cachelib
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cachelib-cmake-logs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-cachelib-debian-10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
echo === g++ -v ===
g++ - || true
- name: "checkout sources"
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: "Add Git safe directory"
# Workaround for Docker image bug (GitHub issue #199).
run: git config --system --add safe.directory $GITHUB_WORKSPACE
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
- name: "build CacheLib"
# Build cachelib in debug mode (-d) and with all tests (-t)
run: ./contrib/build-package.sh -j -v -i -d -t cachelib
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cachelib-cmake-logs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-cachelib-fedora-36.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
echo === gcc -v ===
gcc -v
- name: "checkout sources"
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: "git: ignore unsafe-directories"
run: git config --global --add safe.directory '*'
- name: "Install Prerequisites"
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
- name: "build CacheLib"
# Build cachelib in debug mode (-d) and with all tests (-t)
run: ./contrib/build-package.sh -j -v -i -d -t cachelib
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cachelib-cmake-logs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-cachelib-rockylinux-8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
echo === gcc -v ===
gcc -v
- name: "checkout sources"
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: "Install Prerequisites"
run: ./contrib/build.sh -S -B
- name: "Test: update-submodules"
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
- name: "build CacheLib"
# Build cachelib in debug mode (-d) and with all tests (-t)
run: ./contrib/build-package.sh -j -v -i -d -t cachelib
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cachelib-cmake-logs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-cachelib-rockylinux-9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
echo === gcc -v ===
gcc -v
- name: "checkout sources"
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: "Install Prerequisites"
run: ./contrib/build.sh -S -B
- name: "Test: update-submodules"
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
- name: "build CacheLib"
# Build cachelib in debug mode (-d) and with all tests (-t)
run: ./contrib/build-package.sh -j -v -i -d -t cachelib
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cachelib-cmake-logs
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-cachelib-ubuntu-18.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
- name: "git: ignore unsafe-directories"
run: git config --global --add safe.directory '*'
- name: "checkout sources"
# v1 needed for Ubuntu 18 due to old Git version
uses: actions/checkout@v1
- name: "Install Prerequisites"
run: ./contrib/build.sh -S -B
Expand Down Expand Up @@ -100,7 +101,7 @@ jobs:
- name: "build CacheLib"
# Build cachelib in debug mode (-d) and with all tests (-t)
run: ./contrib/build-package.sh -j -v -i -t cachelib
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cachelib-cmake-logs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-cachelib-ubuntu-20.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
echo === g++ -v ===
g++ -v
- name: "checkout sources"
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: "Install Prerequisites"
run: ./contrib/build.sh -S -B
- name: "Test: update-submodules"
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
- name: "build CacheLib"
# Build cachelib in debug mode (-d) and with all tests (-t)
run: ./contrib/build-package.sh -j -v -i -t cachelib
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cachelib-cmake-logs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-cachelib-ubuntu-22.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
echo === g++ -v ===
g++ -v
- name: "checkout sources"
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: "Install Prerequisites"
run: ./contrib/build.sh -S -B
- name: "Test: update-submodules"
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
- name: "build CacheLib"
# Build cachelib in debug mode (-d) and with all tests (-t)
run: ./contrib/build-package.sh -j -v -i -d -t cachelib
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cachelib-cmake-logs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clang-format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- 'cachelib'
- 'examples'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run clang-format style check for C/C++ programs.
uses: jidicula/[email protected]
with:
Expand Down