Skip to content

Commit

Permalink
update actions/cache & checkout to version 4
Browse files Browse the repository at this point in the history
  • Loading branch information
pmqs committed Feb 13, 2024
1 parent c668654 commit 4f13822
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/linux-upstream-zlib-ng.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
- name: Cache zlib ${{matrix.zlib-version}} USE_ZLIB_NG=${{ matrix.zlib-native }}
id: cache-zlib
uses: actions/cache@v3
uses: actions/cache@v4
with:
# NOTE: path doesn't expand variables!
path: upstream-zlib-install
Expand All @@ -94,7 +94,7 @@ jobs:
- name: Checkout upstream zlib-ng ${{matrix.zlib-version}} USE_ZLIB_NG=${{ matrix.zlib-native }}
if: env.STEP_ENABLED && ( matrix.zlib-version == 'develop' || ! steps.cache-zlib.outputs.cache-hit )
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: zlib-ng/zlib-ng
ref: ${{ matrix.zlib-version }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linux-upstream-zlib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
- name: Cache zlib ${{matrix.zlib-version}}
id: cache-zlib
uses: actions/cache@v3
uses: actions/cache@v4
with:
# NOTE: path doesn't expand variables!
path: upstream-zlib-install
Expand All @@ -92,7 +92,7 @@ jobs:
- name: Checkout upstream zlib ${{matrix.zlib-version}}
if: env.STEP_ENABLED && ( matrix.zlib-version == 'develop' || ! steps.cache-zlib.outputs.cache-hit )
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: madler/zlib
ref: ${{ matrix.zlib-version }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/macos-upstream-zlib-ng.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
- name: Cache zlib ${{matrix.zlib-version}} USE_ZLIB_NG=${{ matrix.zlib-native }}
id: cache-zlib
uses: actions/cache@v3
uses: actions/cache@v4
with:
# NOTE: path doesn't expand variables!
path: upstream-zlib-install
Expand All @@ -94,7 +94,7 @@ jobs:
- name: Checkout upstream zlib-ng ${{matrix.zlib-version}}
if: env.STEP_ENABLED && ( matrix.zlib-version == 'develop' || ! steps.cache-zlib.outputs.cache-hit )
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: zlib-ng/zlib-ng
ref: ${{ matrix.zlib-version }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/macos-upstream-zlib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
- name: Cache zlib ${{matrix.zlib-version}}
id: cache-zlib
uses: actions/cache@v3
uses: actions/cache@v4
with:
# NOTE: path doesn't expand variables!
path: upstream-zlib-install
Expand All @@ -92,7 +92,7 @@ jobs:
- name: Checkout upstream zlib ${{matrix.zlib-version}}
if: env.STEP_ENABLED && ( matrix.zlib-version == 'develop' || ! steps.cache-zlib.outputs.cache-hit )
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: madler/zlib
ref: ${{ matrix.zlib-version }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/windows-upstream-zlib-ng.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
- name: Cache zlib ${{matrix.zlib-version}} USE_ZLIB_NG=${{ matrix.zlib-native }}
id: cache-zlib
uses: actions/cache@v3
uses: actions/cache@v4
with:
# NOTE: path doesn't expand variables!
path: upstream-zlib-install
Expand All @@ -99,7 +99,7 @@ jobs:
- name: Checkout upstream zlib-ng ${{matrix.zlib-version}} USE_ZLIB_NG=${{ matrix.zlib-native }}
if: env.STEP_ENABLED && ( matrix.zlib-version == 'develop' || ! steps.cache-zlib.outputs.cache-hit )
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: zlib-ng/zlib-ng
ref: ${{ matrix.zlib-version }}
Expand Down Expand Up @@ -207,7 +207,7 @@ jobs:

# # - name: Cache zlib ${{matrix.zlib-version}} ${{ matrix.zlib-native }}
# # id: cache-zlib
# # uses: actions/cache@v3
# # uses: actions/cache@v4
# # with:
# # # NOTE: path doesn't expand variables!
# # path: /home/runner/upstream-zlib-install
Expand Down Expand Up @@ -245,7 +245,7 @@ jobs:

# - name: Checkout upstream zlib-ng ${{matrix.zlib-version}}
# if: env.STEP_ENABLED && ( matrix.zlib-version == 'develop' || ! steps.cache-zlib.outputs.cache-hit )
# uses: actions/checkout@v3
# uses: actions/checkout@v4
# with:
# repository: zlib-ng/zlib-ng
# ref: ${{ matrix.zlib-version }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/windows-upstream-zlib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ jobs:
name: Perl ${{ matrix.perl }} with zlib ${{matrix.zlib-version}}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Cache zlib ${{matrix.zlib-version}}
id: cache-zlib
uses: actions/cache@v3
uses: actions/cache@v4
with:
# NOTE: path doesn't expand variables!
path: upstream-zlib-install
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:

- name: Checkout upstream zlib ${{matrix.zlib-version}}
if: ( matrix.zlib-version == 'develop' || steps.cache-zlib.outputs.cache-hit == 'false' )
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: madler/zlib
ref: ${{ matrix.zlib-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

name: Perl ${{ matrix.perl }} distribution:${{ matrix.distribution }} BUILD_ZLIB:${{matrix.build-zlib}}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup perl
uses: shogo82148/actions-setup-perl@v1
with:
Expand Down

0 comments on commit 4f13822

Please sign in to comment.