Skip to content

Commit

Permalink
Use actions/cache@v4, actions/upload-artifact@v4 and actions/checkout…
Browse files Browse the repository at this point in the history
…@v4.
  • Loading branch information
sobomax committed Jun 17, 2024
1 parent 764893f commit e5a79e2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cifuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fuzz-seconds: 600
dry-run: false
- name: Upload Crash
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
if: failure() && steps.build.outcome == 'success'
with:
name: artifacts
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/multiarch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

# Cache the compiler cache
- name: Cache the compiler cache
uses: actions/cache@v3
uses: actions/cache@v4
if: endsWith(matrix.compiler, '-qemu-cross')
with:
path: ccache
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Cache the compiler cache
uses: actions/cache@v3
uses: actions/cache@v4
if: endsWith(matrix.compiler, '-qemu-cross')
with:
path: ccache
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
run: script -e unit_tests.log -c 'sh -x scripts/build/do_build.sh DEFS_EXTRA_OPTS="-DUNIT_TESTS -fPIE -fPIC"'

- name: Collect test logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: unit_tests-logs_${{ matrix.os }}_${{ matrix.compiler }}
path: |
Expand Down

0 comments on commit e5a79e2

Please sign in to comment.