rework into single workflow #5
Workflow file for this run
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: Yocto build | ||
# device repo example psuedo code for visualisation purposes | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
- master | ||
jobs: | ||
yocto-generic-amd64: | ||
name: yocto-build-generic-amd64 | ||
uses: ./.github/workflows/yocto-build-deploy.yml | ||
needs: flowzone | ||
secrets: inherit | ||
with: | ||
environment: production | ||
machine: generic-amd64 | ||
sign-image: true | ||
deploy-hostapp: true | ||
device_slug: "generic-amd64" | ||
os_version: "5.2.4" | ||
is_private: false | ||
generic-aarch64: | ||
uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build.yml@<tag> | ||
secrets: inherit | ||
with: | ||
machine: generic-aarch64 | ||
sign-image: false | ||
development-mode: true | ||
environment: 'balena-machine' # have a github env with SSH port , ssh URL | ||
... etc | ||