Skip to content

Commit 9772ef6

Browse files
committed
Adjust remote_release workflow to update submodule
Signed-off-by: Pierre R. Mai <pmai@pmsf.de>
1 parent d51c334 commit 9772ef6

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/remote_release.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,20 @@ jobs:
1717
uses: actions/checkout@v3
1818
with:
1919
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
20-
20+
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 open-simulation-interface
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)