CI: correct automatic mach-examples updates
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
3d0a21c274
commit
06b93b9556
1 changed files with 4 additions and 5 deletions
9
.github/workflows/update_examples.yml
vendored
9
.github/workflows/update_examples.yml
vendored
|
|
@ -1,9 +1,8 @@
|
|||
name: Update examples
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["CI"]
|
||||
types:
|
||||
- completed
|
||||
push:
|
||||
branches:
|
||||
- "main"
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
|
@ -21,7 +20,7 @@ jobs:
|
|||
- name: 'mach-examples: update mach submodule'
|
||||
run: |
|
||||
cd libs/mach
|
||||
git pull
|
||||
git checkout origin/main
|
||||
cd ../../
|
||||
- name: 'mach-examples: push submodule update'
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue