Skip to content

Commit b786b6f

Browse files
Update cache, checkout and upload-artifact from v3 to v4
Signed-off-by: ClemensLinnhoff <[email protected]>
1 parent 6c9be5b commit b786b6f

13 files changed

+33
-33
lines changed

.github/workflows/build.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ jobs:
1010

1111
steps:
1212
- name: Checkout Model
13-
uses: actions/checkout@v3
13+
uses: actions/checkout@v4
1414
with:
1515
submodules: true
1616

1717
- name: Cache Protobuf
1818
id: cache-protobuf
19-
uses: actions/cache@v3
19+
uses: actions/cache@v4
2020
with:
2121
path: protobuf-21.12
2222
key: ${{ runner.os }}-protobuf
@@ -55,7 +55,7 @@ jobs:
5555

5656
- name: Cache Model FMU
5757
id: cache-model-fmu
58-
uses: actions/cache@v3
58+
uses: actions/cache@v4
5959
with:
6060
path: /tmp/model_fmu
6161
key: ${{ runner.os }}-model-fmu-${{ github.sha }}

.github/workflows/build_esmini.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- name: Cache esmini FMU
1313
id: cache-esmini-fmu
14-
uses: actions/cache@v3
14+
uses: actions/cache@v4
1515
with:
1616
path: /tmp/esmini_fmu
1717
key: ${{ runner.os }}-esmini-fmu

.github/workflows/build_openmcx.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- name: Cache OpenMCx
1313
id: cache-openmcx
14-
uses: actions/cache@v3
14+
uses: actions/cache@v4
1515
with:
1616
path: openmcx
1717
key: ${{ runner.os }}-openmcx

.github/workflows/build_osi_field_checker.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- name: Cache Protobuf
1313
id: cache-protobuf
14-
uses: actions/cache@v3
14+
uses: actions/cache@v4
1515
with:
1616
path: protobuf-21.12
1717
key: ${{ runner.os }}-protobuf
@@ -31,7 +31,7 @@ jobs:
3131

3232
- name: Cache OSI Field Checker FMU
3333
id: cache-osi-field-checker
34-
uses: actions/cache@v3
34+
uses: actions/cache@v4
3535
with:
3636
path: /tmp/osi-field-checker
3737
key: ${{ runner.os }}-osi-field-checker

.github/workflows/build_tracefile_player.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- name: Cache Protobuf
1313
id: cache-protobuf
14-
uses: actions/cache@v3
14+
uses: actions/cache@v4
1515
with:
1616
path: protobuf-21.12
1717
key: ${{ runner.os }}-protobuf
@@ -31,7 +31,7 @@ jobs:
3131

3232
- name: Cache Tracefile Player FMU
3333
id: cache-tracefile-player-fmu
34-
uses: actions/cache@v3
34+
uses: actions/cache@v4
3535
with:
3636
path: /tmp/tracefile_player_fmu
3737
key: ${{ runner.os }}-tracefile-player-fmu

.github/workflows/build_tracefile_writer.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- name: Cache Protobuf
1313
id: cache-protobuf
14-
uses: actions/cache@v3
14+
uses: actions/cache@v4
1515
with:
1616
path: protobuf-21.12
1717
key: ${{ runner.os }}-protobuf
@@ -31,7 +31,7 @@ jobs:
3131

3232
- name: Cache Tracefile Writer FMU
3333
id: cache-tracefile-writer-fmu
34-
uses: actions/cache@v3
34+
uses: actions/cache@v4
3535
with:
3636
path: /tmp/tracefile_writer_fmu
3737
key: ${{ runner.os }}-tracefile-writer-fmu

.github/workflows/cl0.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: checkout
12-
uses: actions/checkout@v3
12+
uses: actions/checkout@v4
1313
- uses: enarx/spdx@master
1414
with:
1515
licenses: Apache-2.0 BSD-3-Clause BSD-2-Clause MIT MPL-2.0

.github/workflows/cl2.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
name: Generate Integration Test Paths
3030

3131
steps:
32-
- uses: actions/checkout@v3
32+
- uses: actions/checkout@v4
3333
- name: Generate matrix with all integration tests
3434
id: set-matrix
3535
working-directory: test/integration
@@ -52,55 +52,55 @@ jobs:
5252
run: echo ${{ github.workspace }}/${{ matrix.path }}
5353

5454
- name: Checkout Model
55-
uses: actions/checkout@v3
55+
uses: actions/checkout@v4
5656
with:
5757
submodules: true
5858

5959
- name: Cache Protobuf
6060
id: cache-protobuf
61-
uses: actions/cache@v3
61+
uses: actions/cache@v4
6262
with:
6363
path: protobuf-21.12
6464
key: ${{ runner.os }}-protobuf
6565

6666
- name: Cache Model FMU
6767
id: cache-model-fmu
68-
uses: actions/cache@v3
68+
uses: actions/cache@v4
6969
with:
7070
path: /tmp/model_fmu
7171
key: ${{ runner.os }}-model-fmu-${{ github.sha }}
7272

7373
- name: Cache Tracefile Player FMU
7474
id: cache-tracefile-player-fmu
75-
uses: actions/cache@v3
75+
uses: actions/cache@v4
7676
with:
7777
path: /tmp/tracefile_player_fmu
7878
key: ${{ runner.os }}-tracefile-player-fmu
7979

8080
- name: Cache Tracefile Writer FMU
8181
id: cache-tracefile-writer-fmu
82-
uses: actions/cache@v3
82+
uses: actions/cache@v4
8383
with:
8484
path: /tmp/tracefile_writer_fmu
8585
key: ${{ runner.os }}-tracefile-writer-fmu
8686

8787
- name: Cache esmini FMU
8888
id: cache-esmini-fmu
89-
uses: actions/cache@v3
89+
uses: actions/cache@v4
9090
with:
9191
path: /tmp/esmini_fmu
9292
key: ${{ runner.os }}-esmini-fmu
9393

9494
- name: Cache OSI Field Checker
9595
id: cache-osi-field-checker
96-
uses: actions/cache@v3
96+
uses: actions/cache@v4
9797
with:
9898
path: /tmp/osi-field-checker
9999
key: ${{ runner.os }}-osi-field-checker
100100

101101
- name: Cache OpenMCx
102102
id: cache-openmcx
103-
uses: actions/cache@v3
103+
uses: actions/cache@v4
104104
with:
105105
path: openmcx
106106
key: ${{ runner.os }}-openmcx
@@ -136,7 +136,7 @@ jobs:
136136
137137
- name: Archive Trace File
138138
if: steps.check-for-trace-files.outputs.found_trace == 1
139-
uses: actions/upload-artifact@v3
139+
uses: actions/upload-artifact@v4
140140
with:
141141
name: ${{ steps.check-for-trace-files.outputs.trace_file_name }}
142142
path: ./test/integration/${{ matrix.path }}/output/${{ steps.check-for-trace-files.outputs.trace_file_name }}

.github/workflows/cpp-linter.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout Model
12-
uses: actions/checkout@v3
12+
uses: actions/checkout@v4
1313
with:
1414
submodules: true
1515

1616
- name: Cache Protobuf
1717
id: cache-protobuf
18-
uses: actions/cache@v3
18+
uses: actions/cache@v4
1919
with:
2020
path: protobuf-21.12
2121
key: ${{ runner.os }}-protobuf

.github/workflows/fmu_artifact.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
steps:
1212
- name: Cache Model FMU
1313
id: cache-model-fmu
14-
uses: actions/cache@v3
14+
uses: actions/cache@v4
1515
with:
1616
path: /tmp/model_fmu
1717
key: ${{ runner.os }}-model-fmu-${{ github.sha }}
1818

1919
- name: Archive built FMU
20-
uses: actions/upload-artifact@v3
20+
uses: actions/upload-artifact@v4
2121
with:
2222
name: ${{ github.event.repository.name }}
2323
path: /tmp/model_fmu/${{ github.event.repository.name }}.fmu

.github/workflows/fmu_checker.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ jobs:
1111
steps:
1212
- name: Cache Model FMU
1313
id: cache-model-fmu
14-
uses: actions/cache@v3
14+
uses: actions/cache@v4
1515
with:
1616
path: /tmp/model_fmu
1717
key: ${{ runner.os }}-model-fmu-${{ github.sha }}
1818

1919
- name: Cache Protobuf
2020
id: cache-protobuf
21-
uses: actions/cache@v3
21+
uses: actions/cache@v4
2222
with:
2323
path: protobuf-21.12
2424
key: ${{ runner.os }}-protobuf
@@ -38,7 +38,7 @@ jobs:
3838

3939
- name: Cache FMUComplianceChecker
4040
id: cache-fmu-checker
41-
uses: actions/cache@v3
41+
uses: actions/cache@v4
4242
with:
4343
path: /tmp/FMUComplianceChecker
4444
key: ${{ runner.os }}-fmu-checker
@@ -74,7 +74,7 @@ jobs:
7474
steps:
7575
- name: Cache Model FMU
7676
id: cache-model-fmu
77-
uses: actions/cache@v3
77+
uses: actions/cache@v4
7878
with:
7979
path: /tmp/model_fmu
8080
key: ${{ runner.os }}-model-fmu-${{ github.sha }}

.github/workflows/markdown.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: checkout
12-
uses: actions/checkout@v3
12+
uses: actions/checkout@v4
1313
- name: markdown-lint
1414
uses: articulate/actions-markdownlint@v1
1515
with:

.github/workflows/unit-tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout Model
12-
uses: actions/checkout@v3
12+
uses: actions/checkout@v4
1313
with:
1414
submodules: true
1515

@@ -21,7 +21,7 @@ jobs:
2121

2222
- name: Cache Protobuf
2323
id: cache-protobuf
24-
uses: actions/cache@v3
24+
uses: actions/cache@v4
2525
with:
2626
path: protobuf-21.12
2727
key: ${{ runner.os }}-protobuf

0 commit comments

Comments
 (0)