mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 11:51:02 +00:00
Fix config schema (typo in pipeline.step.when.platform) (#417)
* fix schema * fix test fixtures
This commit is contained in:
parent
88389e4a06
commit
3254a7ca00
2 changed files with 6 additions and 6 deletions
|
@ -34,19 +34,19 @@ pipeline:
|
|||
when:
|
||||
status: [success, failure]
|
||||
|
||||
when-plattform:
|
||||
when-platform:
|
||||
image: alpine
|
||||
commands:
|
||||
- echo "test"
|
||||
when:
|
||||
plattform: linux/amd64
|
||||
platform: linux/amd64
|
||||
|
||||
when-plattform-array:
|
||||
when-platform-array:
|
||||
image: alpine
|
||||
commands:
|
||||
- echo "test"
|
||||
when:
|
||||
plattform: [ linux/*, windows/amd64 ]
|
||||
platform: [ linux/*, windows/amd64 ]
|
||||
|
||||
when-environment:
|
||||
image: alpine
|
||||
|
|
|
@ -194,8 +194,8 @@
|
|||
"enum": ["success", "failure"]
|
||||
}
|
||||
},
|
||||
"plattform": {
|
||||
"description": "Execute a step only on a specific platform. Read more: https://woodpecker-ci.github.io/docs/usage/pipeline-syntax#plattform",
|
||||
"platform": {
|
||||
"description": "Execute a step only on a specific platform. Read more: https://woodpecker-ci.github.io/docs/usage/pipeline-syntax#platform",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
|
|
Loading…
Reference in a new issue