Skip to content

Commit aa08e1e

Browse files
committed
Adjust remote release workflow
Signed-off-by: Pierre R. Mai <pmai@pmsf.de>
1 parent c0a09bd commit aa08e1e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/remote_release.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,19 @@ jobs:
1818
with:
1919
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
2020

21+
- name: Update submodule
22+
run: |
23+
git submodule init
24+
git submodule update --recursive --remote
25+
cd open-simulation-interface
26+
git checkout ${{ github.event.client_payload.tag }}
27+
cd ..
28+
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
29+
git config --local user.name "github-actions[bot]"
30+
git add .
31+
git commit -m "OSI submodule updated"
32+
continue-on-error: true
33+
2134
- name: Create tag
2235
run: git tag ${{ github.event.client_payload.tag }}
2336

0 commit comments

Comments
 (0)