From 3d0a21c2743822334f4eb00aff55f23e83f832e8 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Mon, 17 Oct 2022 03:30:10 -0700 Subject: [PATCH] CI: correct automatic mach-examples updates Signed-off-by: Stephen Gutekanst --- .github/workflows/update_examples.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update_examples.yml b/.github/workflows/update_examples.yml index deba6645..0e05f11a 100644 --- a/.github/workflows/update_examples.yml +++ b/.github/workflows/update_examples.yml @@ -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'