Skip to content

Commit

Permalink
Bump actions/cache from 3 to 4 (#159)
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]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Jun 12, 2024
1 parent df17e37 commit 3d10814
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
- name: Cache JVM build output
# when in master repo: all commits to main branch and all additional tags
if: github.ref == 'refs/heads/main' || (github.ref != 'refs/heads/main' && startsWith( github.ref, 'refs/tags/') )
uses: actions/cache/save@v3
uses: actions/cache/save@v4
with:
path: |
out/morphir/${{matrix.scala}}/**/jvm/
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
- name: Cache JS build output
# when in master repo: all commits to main branch and all additional tags
if: github.ref == 'refs/heads/main' || (github.ref != 'refs/heads/main' && startsWith( github.ref, 'refs/tags/') )
uses: actions/cache/save@v3
uses: actions/cache/save@v4
with:
path: |
out/morphir/${{matrix.scala}}/**/js/
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
- name: Cache Native build output
# when in master repo: all commits to main branch and all additional tags
if: github.ref == 'refs/heads/main' || (github.ref != 'refs/heads/main' && startsWith( github.ref, 'refs/tags/') )
uses: actions/cache/save@v3
uses: actions/cache/save@v4
with:
path: |
out/morphir/${{matrix.scala}}/**/native/
Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:
run: sudo apt-get update && sudo apt-get install -y libuv1-dev

- name: Restore Scala 2.12 JVM Build Output From Cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: |
out/morphir/2.12.18/**/jvm/
Expand All @@ -197,7 +197,7 @@ jobs:
restore-keys: ${{ runner.os }}-mill-jvm-11-2.12.18-${{ github.sha }}-

- name: Restore Scala 2.13 JVM Build Output From Cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: |
out/morphir/2.13.12/**/jvm/
Expand All @@ -206,55 +206,55 @@ jobs:
restore-keys: ${{ runner.os }}-mill-jvm-11-2.13.12-${{ github.sha }}-

- name: Restore Scala 3.3 JVM Build Output From Cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: |
out/morphir/3.3.1/**/jvm/
key: ${{ runner.os }}-mill-jvm-11-3.3.1-${{ github.sha }}-${{ hashFiles('out') }}
restore-keys: ${{ runner.os }}-mill-jvm-11-3.3.1-${{ github.sha }}-

- name: Restore Scala 2.12 JS Build Output From Cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: |
out/morphir/2.12.18/**/js/
key: ${{ runner.os }}-mill-js-11-2.12.18-${{ github.sha }}-${{ hashFiles('out') }}
restore-keys: ${{ runner.os }}-mill-js-11-2.12.18-${{ github.sha }}-

- name: Restore Scala 2.13 JS Build Output From Cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: |
out/morphir/2.13.12/**/js/
key: ${{ runner.os }}-mill-js-11-2.13.12-${{ github.sha }}-${{ hashFiles('out') }}
restore-keys: ${{ runner.os }}-mill-js-11-2.13.12-${{ github.sha }}-

- name: Restore Scala 3.3 JS Build Output From Cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: |
out/morphir/3.3.1/**/js/
key: ${{ runner.os }}-mill-js-11-3.3.1-${{ github.sha }}-${{ hashFiles('out') }}
restore-keys: ${{ runner.os }}-mill-js-11-3.3.1-${{ github.sha }}-

- name: Restore Scala 2.12 Native Build Output From Cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: |
out/morphir/2.12.18/**/native/
key: ${{ runner.os }}-mill-native-11-2.12.18-${{ github.sha }}-${{ hashFiles('out') }}
restore-keys: ${{ runner.os }}-mill-native-11-2.12.18-${{ github.sha }}-

- name: Restore Scala 2.13 Native Build Output From Cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: |
out/morphir/2.13.12/**/native/
key: ${{ runner.os }}-mill-native-11-2.13.12-${{ github.sha }}-${{ hashFiles('out') }}
restore-keys: ${{ runner.os }}-mill-native-11-2.13.12-${{ github.sha }}-

- name: Restore Scala 3.3 Native Build Output From Cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: |
out/morphir/3.3.1/**/native/
Expand Down

0 comments on commit 3d10814

Please sign in to comment.