Skip to content

Commit 4ed71a9

Browse files
Update release.yml
Added version numbers to folders in deliverables
1 parent 9202f28 commit 4ed71a9

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109
- name: Checkout interface
110110
uses: actions/checkout@v3
111111
with:
112-
path: dist/open-simulation-interface
112+
path: dist/open-simulation-interface_${{needs.setup.outputs.output1}}
113113
# Check out the sensor model packaging repo
114114
- name: Checkout sensor model packaging
115115
uses: actions/checkout@v3
@@ -123,11 +123,6 @@ jobs:
123123
with:
124124
name: antora
125125
path: dist/ASAM_OSI_Standard_${{needs.setup.outputs.output1}}/
126-
# # Move downloaded Antora artifact to the correct location
127-
# - name: Move and rename Antora artifact (ASAM_OSI_Standard)
128-
# run: |
129-
# ls
130-
# mv antora/site/ dist/ASAM_OSI_Standard_${{needs.setup.outputs.output1}}/
131126
# Create the mandatory README.txt file for the deliverables package. The functions and variables declared below will create a readme file with a defined header, surrounded by a box made of "*".
132127
- name: Get OSMP version
133128
working-directory: dist/osi-sensor-model-packaging
@@ -156,6 +151,7 @@ jobs:
156151
- open_simulation_interface_${{needs.setup.outputs.output1}}
157152
- osi-sensor-model-packaging_${{ env.OSMP_VERSION }}" >> "README.txt"
158153
cat README.txt
154+
- mv osi-sensor-model-packaging osi-sensor-model-packaging_${{ env.OSMP_VERSION }}
159155
# Package all collected deliverables
160156
- name: Zip Release
161157
uses: TheDoctor0/zip-release@0.6.2

0 commit comments

Comments
 (0)