attempting to get concurrency on git

This commit is contained in:
rusefillc 2023-11-06 09:33:28 -05:00
parent 33d016a82c
commit 506793e66a
1 changed files with 12 additions and 0 deletions

View File

@ -36,6 +36,9 @@ jobs:
run: |
bash hellen-one/kicad/bin/export.sh
- name: git pull
run: git pull
- name: Commit fresh gerber files
# sad: copy-pasta see below! TODO reuse somehow?
env:
@ -48,6 +51,9 @@ jobs:
done
bash hellen-one/bin/gha-commit.sh
- name: git pull
run: git pull
- name: Push gerber files
# sad: copy-pasta see below! TODO reuse somehow?
# let's support both newer 'main' and older 'master' repositories
@ -70,6 +76,9 @@ jobs:
run: |
bash hellen-one/bin/step3_create_board_with_docker.sh
- name: git pull
run: git pull
- name: Commit fresh board files
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
@ -81,6 +90,9 @@ jobs:
done
bash hellen-one/bin/gha-commit.sh
- name: git pull
run: git pull
- name: Push board files
# let's support both newer 'main' and older 'master' repositories
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') && env.NOCOMMIT != 'true'}}