Skip to content
Open
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
28 changes: 14 additions & 14 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Cache NPM
if: startsWith( matrix.scala, '3.' )
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -84,7 +84,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@v4
uses: actions/cache/save@v5
with:
path: |
out/morphir/${{matrix.scala}}/**/jvm/
Expand Down Expand Up @@ -122,7 +122,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@v4
uses: actions/cache/save@v5
with:
path: |
out/morphir/${{matrix.scala}}/**/js/
Expand Down Expand Up @@ -165,7 +165,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@v4
uses: actions/cache/save@v5
with:
path: |
out/morphir/${{matrix.scala}}/**/native/
Expand All @@ -183,7 +183,7 @@ jobs:
# uses: coursier/cache-action@v6

# - name: Get OUT cache
# uses: actions/cache/restore@v4
# uses: actions/cache/restore@v5
# with:
# path: out/
# key: ${{ runner.os }}-*
Expand Down Expand Up @@ -265,7 +265,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@v4
uses: actions/cache/restore@v5
with:
path: |
out/morphir/2.12.20/**/jvm/
Expand All @@ -274,7 +274,7 @@ jobs:
restore-keys: ${{ runner.os }}-mill-jvm-11-2.12.20-${{ github.sha }}-

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

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

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

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

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

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

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

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