Skip to content

Commit 4a6a1dd

Browse files
committed
Adjust remote workflow module updates
Signed-off-by: Pierre R. Mai <[email protected]>
1 parent 1926991 commit 4a6a1dd

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/remote_release.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,13 @@ jobs:
2222
run: |
2323
git submodule init
2424
git submodule update --recursive --remote
25-
cd examples/open-simulation-interface
25+
cd examples/osi-cpp
2626
git checkout ${{ github.event.client_payload.tag }}
27+
git submodule update
2728
cd ../..
2829
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
2930
git config --local user.name "github-actions[bot]"
30-
git add .
31+
git add examples/osi-cpp
3132
git commit -m "git submodule updated"
3233
continue-on-error: true
3334

@@ -40,15 +41,13 @@ jobs:
4041
git tag ${REPO_TAG}
4142
4243
- name: GitHub Push
43-
uses: CasperWA/push-[email protected].0
44+
uses: ad-m/github-push-[email protected].0
4445
with:
4546
# Token for the repo. Can be passed in using $\{{ secrets.GITHUB_TOKEN }}
46-
token: ${{ secrets.MACHINE_USER_PAT }}
47-
branch: master
47+
github_token: ${{ secrets.MACHINE_USER_PAT }}
4848
# Determines if --tags is used
4949
tags: true
5050
force: true
51-
unprotect_reviews: true
5251

5352
- name: Trigger examples creation
5453
uses: peter-evans/repository-dispatch@v2

0 commit comments

Comments
 (0)