Skip to content

Commit

Permalink
build: bump actions/cache from 3 to 4
Browse files Browse the repository at this point in the history
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored Mar 11, 2024
1 parent 9b30cac commit c29a842
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/colima-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
shell: bash

- name: DDEV test cache/restore
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: ~/.ddev/testcache/tarballs
key: ddev-test-cache-${{ steps.get-date.outputs.date }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/master-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
- name: save build results to cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .gotmp/bin
key: ${{ github.sha }}-${{ github.ref }}-build-most
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
# After 3.0.5 they were using zstdmt which is not available on Windows
# See https://github.com/actions/cache/issues/891
# But trying again with @v3, 2023-02-18
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .gotmp/bin/windows_amd64
key: ${{ github.sha }}-${{ github.ref }}-signed-windows-binaries
Expand All @@ -134,7 +134,7 @@ jobs:
go-version: '>=1.21'

- name: restore build-most results from cache
uses: actions/cache@v3
uses: actions/cache@v4
id: buildmost
with:
path: .gotmp/bin
Expand All @@ -160,7 +160,7 @@ jobs:
curl -sSL -f https://raw.githubusercontent.com/ddev/signing_tools/master/macos_notarize.sh | bash -s - --app-specific-password=${DDEV_MACOS_APP_PASSWORD} [email protected] --primary-bundle-id=com.ddev.ddev --target-binary="${item}"
done
- name: Save notarized binaries to cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .gotmp/bin/darwin*
key: ${{ github.sha }}-${{ github.ref }}-notarize-macos
Expand All @@ -186,7 +186,7 @@ jobs:
with:
fetch-depth: 0
- name: Restore build-most builds
uses: actions/cache@v3
uses: actions/cache@v4
id: buildmost
with:
path: .gotmp/bin
Expand All @@ -198,7 +198,7 @@ jobs:
run: exit 1

- name: Restore Signed Windows artifacts
uses: actions/cache@v3
uses: actions/cache@v4
id: signedwindows
with:
path: .gotmp/bin/windows_amd64
Expand All @@ -210,7 +210,7 @@ jobs:
run: exit 1

- name: Restore Signed Mac artifacts
uses: actions/cache@v3
uses: actions/cache@v4
id: notarizedmac
with:
path: .gotmp/bin/darwin*
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
shell: bash

- name: DDEV test cache
uses: actions/cache@v3
uses: actions/cache@v4
if: github.ref == 'refs/heads/master' && matrix.name == 'pull-push-test-platforms'
with:
path: ~/.ddev/testcache/tarballs
Expand All @@ -90,7 +90,7 @@ jobs:
ddev-test-cache-
- name: DDEV test cache/restore
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
if: github.ref != 'refs/heads/master' || matrix.name != 'pull-push-test-platforms'
with:
path: ~/.ddev/testcache/tarballs
Expand All @@ -108,7 +108,7 @@ jobs:
echo "dir=$(brew --cache)" >> $GITHUB_OUTPUT
- name: Homebrew cache
uses: actions/cache@v3
uses: actions/cache@v4
if: github.ref == 'refs/heads/master'
with:
path: ${{ steps.homebrew-cache.outputs.dir }}
Expand All @@ -117,7 +117,7 @@ jobs:
${{ runner.os }}-homebrew-cache-
- name: Homebrew cache/restore
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
if: github.ref != 'refs/heads/master'
with:
path: ${{ steps.homebrew-cache.outputs.dir }}
Expand Down

0 comments on commit c29a842

Please sign in to comment.