alphax-4chan/.github/workflows/create-board.yaml

39 lines
900 B
YAML
Raw Normal View History

2022-05-18 16:58:12 -07:00
name: Check All
2022-05-21 09:18:06 -07:00
on: [ push, pull_request ]
2022-05-18 16:58:12 -07:00
jobs:
build-firmware:
runs-on: ubuntu-latest
steps:
2022-06-13 07:35:50 -07:00
- uses: actions/checkout@v2
2022-05-18 16:58:12 -07:00
with:
submodules: recursive
- name: 1. Build Docker
run: |
2022-05-21 09:18:06 -07:00
bash hellen-one/bin/step1_build_hellen-one_docker.sh
2022-05-18 16:58:12 -07:00
- name: 2. Copy
run: |
2022-05-21 09:18:06 -07:00
bash hellen-one/bin/step2_copy_with_docker.sh
- name: 3. Create Board
run: |
bash hellen-one/bin/step3_create_board_with_docker.sh
- name: Commit fresh board files
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
run: |
bash hellen-one/bin/gha-commit.sh
- name: Push board files
if: ${{env.NOCOMMIT != 'true'}}
uses: ad-m/github-push-action@master
with:
github_token: ${{ github.token }}
branch: ${{ steps.extract_branch.outputs.branch }}