Skip to content

Commit

Permalink
Added commit id to model fmu cache key (#15)
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 2e5d4cf commit 5ad28f5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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/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 5ad28f5

Please sign in to comment.