ci: add "when" clauses

This commit is contained in:
Jack Bond-Preston 2022-07-07 14:43:18 +01:00
parent b014280413
commit 3474cbca99
Signed by: jack
GPG Key ID: 010071F1482BA852

View File

@ -4,10 +4,14 @@ pipeline:
image: woodpeckerci/plugin-git image: woodpeckerci/plugin-git
settings: settings:
- path: MagicStorageVoidBag - path: MagicStorageVoidBag
when:
branch: [ main, ci-testing ]
build: build:
image: mcr.microsoft.com/dotnet/sdk image: mcr.microsoft.com/dotnet/sdk
commands: commands:
- ls - ls
when:
branch: [ main, ci-testing ]
branches: [ main, ci-testing ] branches: [ main, ci-testing ]