Skip to content

Commit

Permalink
Update actions/cache to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
kelpsyberry committed Feb 7, 2024
1 parent aaefca1 commit be41164
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-release-macos-app-bundles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
targets: x86_64-apple-darwin, aarch64-apple-darwin

- name: Cache Cargo registry
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cargo/registry/index
Expand All @@ -39,7 +39,7 @@ jobs:
enableCrossOsArchive: true

- name: Cache build directory
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: target/
key: macos-app-release-${{ steps.toolchain.outputs.cachekey }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
targets: ${{ matrix.target }}

- name: Cache Cargo registry
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cargo/registry/index
Expand All @@ -54,7 +54,7 @@ jobs:
enableCrossOsArchive: true

- name: Cache build directory
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: target/
key: ${{ matrix.target }}-release-${{ steps.toolchain.outputs.cachekey }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
components: clippy

- name: Cache Cargo registry
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cargo/registry/index
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
node-version: '17'

- name: Cache Cargo registry
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cargo/registry/index
Expand All @@ -40,7 +40,7 @@ jobs:
enableCrossOsArchive: true

- name: Cache build directory
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: target/
key: web-release-${{ steps.toolchain.outputs.cachekey }}
Expand Down

0 comments on commit be41164

Please sign in to comment.