Skip to content

Update build.yaml

Update build.yaml #7

Workflow file for this run

name: Build DiscoEasy200 firmware

Check failure on line 1 in .github/workflows/build.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yaml

Invalid workflow file

Invalid type for `job.strategy`
# TODO matrix, extra options, caching, build-flags, filenaming, releases for PRs, commits, weekly, tags
on:
pull_request:
branches:
- 1.1.9.2-DE200
- 2.1.2.2-DE200
push:
branches:
- 1.1.9.2-DE200
- 2.1.2.2-DE200
release:
types:
- published
schedule:
- cron: '00 6 * * 6'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build_multiple:
strategy:
matrix:
lang: [en, an, bg, ca, cz, da, de, el, es, eu, fi, fr, gl, hr, it, kana, ko_KR, nl, pl, pt, pt-br, ru, sk_utf8, tr, uk, zh_CN, zh_TW]
# bicol: [0, 1]
# filsens: [0, 1]
# nolcd: [0, 1]
# therm: [0, 1]
# trap: [0, 1]
# xl: [0, 1]
# pinout: [0, 1]
# z122: [0, 1]
# bltouch: [0, 1]
bicol: [0]
filsens: [0]
nolcd: [0]
therm: [0]
trap: [0]
xl: [0]
pinout: [0, 1]
z122: [0]
bltouch: [0]
debug: [true]
max-parallel: 1
fail-fast: {{ matrix.debug }}
name: "Build:[\
lang:${{ inputs.lang }},
bicolor:${{ inputs.bicol }},
filament-sensor:${{ inputs.filsens }},
no-screen:${{ inputs.nolcd }},
blk-therm:${{ inputs.therm }},
trapezoidal:${{ inputs.trap }},
xl:${{ inputs.xl }},
std pinout:${{ inputs.pinout }},
Z122-Head:${{ inputs.z122 }},
BLtouch:${{ inputs.bltouch }}\
]"
runs-on: ubuntu-latest
uses: Sophist-UK/Marlin-DiscoEasy200/.github/workflows/[email protected]
with:
lang: ${{ matrix.lang }}
bicol: ${{ matrix.bicol }}
filsens: ${{ matrix.filsens }}
nolcd: ${{ matrix.nolcd }}
therm: ${{ matrix.therm }}
trap: ${{ matrix.trap }}
xl: ${{ matrix.xl }}
pinout: ${{ matrix.pinout }}
z122: ${{ matrix.z122 }}
bltouch: ${{ matrix.bltouch }}
secrets: inherit