diff --git a/.github/workflows/build-all-binaries.yml b/.github/workflows/build-all-binaries.yml index ca50dfa6..4bd45a14 100644 --- a/.github/workflows/build-all-binaries.yml +++ b/.github/workflows/build-all-binaries.yml @@ -1,47 +1,45 @@ -name: firmware build +name: build all binaries on: - push: - branches: - - dev + workflow_call: jobs: build-dada-firmware: - uses: ./.github/workflows/build_firmware.yml + uses: ./.github/workflows/build-firmware.yml with: tbd-platform: dada build-bba2-firmware: - uses: ./.github/workflows/build_firmware.yml + uses: ./.github/workflows/build-firmware.yml with: tbd-platform: bba2 build-bba1-firmware: - uses: ./.github/workflows/build_firmware.yml + uses: ./.github/workflows/build-firmware.yml with: tbd-platform: bba1 build-mk2-firmware: - uses: ./.github/workflows/build_firmware.yml + uses: ./.github/workflows/build-firmware.yml with: tbd-platform: mk2 build-aem-firmware: - uses: ./.github/workflows/build_firmware.yml + uses: ./.github/workflows/build-firmware.yml with: tbd-platform: aem build-str-firmware: - uses: ./.github/workflows/build_firmware.yml + uses: ./.github/workflows/build-firmware.yml with: tbd-platform: str build-v2-firmware: - uses: ./.github/workflows/build_firmware.yml + uses: ./.github/workflows/build-firmware.yml with: tbd-platform: v2 build-v1-firmware: - uses: ./.github/workflows/build_firmware.yml + uses: ./.github/workflows/build-firmware.yml with: tbd-platform: v1 \ No newline at end of file diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index d5c63c8a..f4db7b54 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -1,9 +1,7 @@ name: documentation on: - push: - branches: - - dev + workflow_call: jobs: build: diff --git a/.github/workflows/build_firmware.yml b/.github/workflows/build-firmware.yml similarity index 100% rename from .github/workflows/build_firmware.yml rename to .github/workflows/build-firmware.yml diff --git a/.github/workflows/push-dev.yml b/.github/workflows/push-dev.yml new file mode 100644 index 00000000..6aa14402 --- /dev/null +++ b/.github/workflows/push-dev.yml @@ -0,0 +1,14 @@ +name: dev build all + +on: + push: + branches: + - dev + +jobs: + build-all-binaries: + uses: ./.github/workflows/build-all-binaries.yml + + deploy-documentation: + needs: build-all-binaries + uses: ./.github/workflows/build-docs.yml