Skip to content

Commit 37163b6

Browse files
committed
Update github actions for release workflow
Signed-off-by: Pierre R. Mai <[email protected]>
1 parent 6807643 commit 37163b6

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/release.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
steps:
1818
# Check out the GitHub repository
1919
- name: Checkout interface
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
with:
2222
path: dist/open-simulation-interface
2323
# Set the version variable based on the latest tag (could be replaced with github-internal predefined variable?)
@@ -66,7 +66,7 @@ jobs:
6666
steps:
6767
# Check out the Antora generator
6868
- name: Checkout Antora generator
69-
uses: actions/checkout@v3
69+
uses: actions/checkout@v4
7070
with:
7171
repository: OpenSimulationInterface/osi-antora-generator
7272
path: antora
@@ -94,7 +94,7 @@ jobs:
9494
args: antora.sh
9595
# Upload the created artifact for later jobs to use
9696
- name: Upload artifact
97-
uses: actions/upload-artifact@v3
97+
uses: actions/upload-artifact@v4
9898
with:
9999
name: antora
100100
path: antora/site
@@ -107,19 +107,19 @@ jobs:
107107
steps:
108108
# Check out the repository (again)
109109
- name: Checkout interface
110-
uses: actions/checkout@v3
110+
uses: actions/checkout@v4
111111
with:
112112
path: dist/open-simulation-interface_${{needs.setup.outputs.output1}}
113113
# Check out the sensor model packaging repo
114114
- name: Checkout sensor model packaging
115-
uses: actions/checkout@v3
115+
uses: actions/checkout@v4
116116
with:
117117
repository: OpenSimulationInterface/osi-sensor-model-packaging
118118
path: dist/osi-sensor-model-packaging
119119
fetch-depth: 0
120120
# Retrieve the Antora artifact from the previous job
121121
- name: Retrieve Antora artifact
122-
uses: actions/download-artifact@v3
122+
uses: actions/download-artifact@v4
123123
with:
124124
name: antora
125125
path: dist/ASAM_OSI_Standard_${{needs.setup.outputs.output1}}/
@@ -154,13 +154,13 @@ jobs:
154154
mv osi-sensor-model-packaging osi-sensor-model-packaging_${{ env.OSMP_VERSION }}
155155
# Package all collected deliverables
156156
- name: Zip Release
157-
uses: TheDoctor0/zip-release@0.6.2
157+
uses: TheDoctor0/zip-release@0.7.6
158158
with:
159159
filename: ASAM_OSI_${{needs.setup.outputs.output1}}.zip
160160
directory: dist
161161
# Upload the created artifact for the publish job
162162
- name: Upload artifact
163-
uses: actions/upload-artifact@v3
163+
uses: actions/upload-artifact@v4
164164
with:
165165
name: deliverables
166166
path: dist/ASAM_OSI_${{needs.setup.outputs.output1}}.zip
@@ -173,7 +173,7 @@ jobs:
173173
steps:
174174
# Retrieve the previously uploaded deliverables artifact
175175
- name: Retrieve previous artifacts
176-
uses: actions/download-artifact@v3
176+
uses: actions/download-artifact@v4
177177
with:
178178
name: deliverables
179179
# Add the new zip file with the deliverables to the respective release

0 commit comments

Comments
 (0)