Skip to content

Commit

Permalink
Added commit id to model fmu cache key (#6)
Browse files Browse the repository at this point in the history
Signed-off-by: ClemensLinnhoff <[email protected]>
  • Loading branch information
ClemensLinnhoff committed Jul 25, 2023
1 parent 442b574 commit a951a63
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
uses: actions/cache@v3
with:
path: /tmp/model_fmu
key: ${{ runner.os }}-model-fmu
key: ${{ runner.os }}-model-fmu-${{ github.sha }}

- name: Commit ID
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cl2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
uses: actions/cache@v3
with:
path: /tmp/model_fmu
key: ${{ runner.os }}-model-fmu
key: ${{ runner.os }}-model-fmu-${{ github.sha }}

- name: Cache Tracefile Player FMU
id: cache-tracefile-player-fmu
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fmu_artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/cache@v3
with:
path: /tmp/model_fmu
key: ${{ runner.os }}-model-fmu
key: ${{ runner.os }}-model-fmu-${{ github.sha }}

- name: Archive built FMU
uses: actions/upload-artifact@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fmu_checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/cache@v3
with:
path: /tmp/model_fmu
key: ${{ runner.os }}-model-fmu
key: ${{ runner.os }}-model-fmu-${{ github.sha }}

- name: Cache FMUComplianceChecker
id: cache-fmu-checker
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
uses: actions/cache@v3
with:
path: /tmp/model_fmu
key: ${{ runner.os }}-model-fmu
key: ${{ runner.os }}-model-fmu-${{ github.sha }}

- name: Install FMPy
run: python -m pip install fmpy[complete]
Expand Down

0 comments on commit a951a63

Please sign in to comment.