CI: correct automatic mach-examples updates
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
cd6abaf84b
commit
3d0a21c274
1 changed files with 3 additions and 4 deletions
7
.github/workflows/update_examples.yml
vendored
7
.github/workflows/update_examples.yml
vendored
|
|
@ -12,19 +12,18 @@ jobs:
|
||||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
- name: Checkout hexops/mach-examples repo
|
- name: Checkout hexops/mach-examples repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
repository: hexops/mach-examples
|
repository: hexops/mach-examples
|
||||||
token: ${{ secrets.HEXOPS_MACH_GPU_DAWN_PUSH }}
|
token: ${{ secrets.HEXOPS_MACH_PUSH_SUBREPOS }}
|
||||||
|
submodules: 'true'
|
||||||
- name: 'mach-examples: update mach submodule'
|
- name: 'mach-examples: update mach submodule'
|
||||||
run: |
|
run: |
|
||||||
cd libs/mach
|
cd libs/mach
|
||||||
git pull
|
git pull
|
||||||
cd ../../
|
cd ../../
|
||||||
- name: 'gpu/dawn: use latest binary release'
|
- name: 'mach-examples: push submodule update'
|
||||||
run: |
|
run: |
|
||||||
git config user.name 'Release automation'
|
git config user.name 'Release automation'
|
||||||
git config user.email 'stephen@hexops.com'
|
git config user.email 'stephen@hexops.com'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue