CI: correct automatic mach-examples updates

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-10-17 03:30:10 -07:00
parent cd6abaf84b
commit 3d0a21c274

View file

@ -12,19 +12,18 @@ jobs:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Checkout hexops/mach-examples repo
uses: actions/checkout@v2
with:
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'
run: |
cd libs/mach
git pull
cd ../../
- name: 'gpu/dawn: use latest binary release'
- name: 'mach-examples: push submodule update'
run: |
git config user.name 'Release automation'
git config user.email 'stephen@hexops.com'