Skip to content

Bump actions/cache from 3 to 4 #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/m1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
steps:
- name: Cache openssl
id: cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: output
key: ${{ env.cache-name }}
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
steps:
- name: Cache angle
id: cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: output
key: ${{ env.cache-name }}
Expand Down
44 changes: 22 additions & 22 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
key: ${{ runner.os }}-build-${{ env.cache-name }}
- name: Cache libcxx32
if: steps.libcxx32-llvm.outputs.cache-hit != 'true'
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-libcxx32--macos-10-10-4
with:
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
key: ${{ runner.os }}-build-${{ env.cache-name }}
- name: Cache libcxx64
if: steps.libcxx64-llvm.outputs.cache-hit != 'true'
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-libcxx64--macos-10-10-4
with:
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
- name: Cache libcxx32
if: steps.libcxx-llvm.outputs.cache-hit != 'true'
id: libcxx32-llvm
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-libcxx32--macos-10-10-4
with:
Expand All @@ -148,15 +148,15 @@ jobs:
- name: Cache libcxx64
if: steps.libcxx-llvm.outputs.cache-hit != 'true'
id: libcxx64-llvm
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-libcxx64--macos-10-10-4
with:
path: libcxx64-build
key: ${{ runner.os }}-build-${{ env.cache-name }}
- name: Cache libcxx
if: steps.libcxx-llvm.outputs.cache-hit != 'true'
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-libcxx--macos-10-10-4
with:
Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:
key: ${{ runner.os }}-build-${{ env.cache-name }}
- name: Cache openssl
if: steps.cache-openssl32.outputs.cache-hit != 'true'
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-openssl32-macos-10-10
with:
Expand Down Expand Up @@ -235,7 +235,7 @@ jobs:
key: ${{ runner.os }}-build-${{ env.cache-name }}
- name: Cache openssl
if: steps.cache-openssl64.outputs.cache-hit != 'true'
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-openssl64-macos-10-10
with:
Expand Down Expand Up @@ -285,23 +285,23 @@ jobs:
key: ${{ runner.os }}-build-${{ env.cache-name }}
- name: Cache openssl
if: steps.openssl.outputs.cache-hit != 'true'
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-openssl-2
with:
path: ssl
key: ${{ runner.os }}-build-${{ env.cache-name }}
- name: Cache openssl32
if: steps.openssl.outputs.cache-hit != 'true'
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-openssl32-macos-10-10
with:
path: ssl32
key: ${{ runner.os }}-build-${{ env.cache-name }}
- name: Cache openssl64
if: steps.openssl.outputs.cache-hit != 'true'
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-openssl64-macos-10-10
with:
Expand Down Expand Up @@ -330,7 +330,7 @@ jobs:
key: ${{ runner.os }}-build-${{ env.cache-name }}
- name: Cache angle
if: steps.angle.outputs.cache-hit != 'true'
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-angle-3
with:
Expand Down Expand Up @@ -367,7 +367,7 @@ jobs:
steps:
- name: Select Xcode
run: sudo xcode-select -switch /Applications/Xcode_14.2.app
- uses: actions/cache/restore@v3
- uses: actions/cache/restore@v4
id: cache
with:
path: protobuf-build
Expand Down Expand Up @@ -414,7 +414,7 @@ jobs:
make -j8
make install -j8
working-directory: protobuf
- uses: actions/cache/save@v3
- uses: actions/cache/save@v4
if: steps.cache.outputs.cache-hit != 'true'
with:
path: protobuf-build
Expand Down Expand Up @@ -531,44 +531,44 @@ jobs:
path: "m1-artifacts"
- name: Cache libcxx32
id: libcxx32-llvm
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-libcxx32--macos-10-10-4
with:
path: libcxx32-build
key: ${{ runner.os }}-build-${{ env.cache-name }}
- name: Cache libcxx64
id: libcxx64-llvm
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-libcxx64--macos-10-10-4
with:
path: libcxx64-build
key: ${{ runner.os }}-build-${{ env.cache-name }}
- name: Cache libcxx
id: libcxx-llvm
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-libcxx--macos-10-10-4
with:
path: libcxx-build
key: ${{ runner.os }}-build-${{ env.cache-name }}
- name: Cache openssl
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-openssl-2
with:
path: ssl
key: ${{ runner.os }}-build-${{ env.cache-name }}
- name: Cache openssl32
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-openssl32-macos-10-10
with:
path: ssl32
key: ${{ runner.os }}-build-${{ env.cache-name }}
- name: Cache openssl64
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-openssl64-macos-10-10
with:
Expand All @@ -584,13 +584,13 @@ jobs:
ln -s ../ssl/lib
- name: Cache angle
if: steps.angle.outputs.cache-hit != 'true'
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-angle-3
with:
path: source/osx-angle-ci/artifacts
key: ${{ runner.os }}-build-${{ env.cache-name }}
- uses: actions/cache/restore@v3
- uses: actions/cache/restore@v4
with:
fail-on-cache-miss: true
path: protobuf-build
Expand All @@ -604,7 +604,7 @@ jobs:
- name: Cache qt
if: 'false'
id: cache-qt
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-qt-macos-${{ matrix.target }}
with:
Expand Down
Loading