This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check All | |
on: [ push, pull_request ] | |
jobs: | |
build-firmware: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
submodules: recursive | |
- name: 1. Build Docker | |
run: | | |
bash hellen-one/bin/step1_build_hellen-one_docker.sh | |
- name: 2. Copy | |
run: | | |
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 }} | |