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
settings:
- path: MagicStorageVoidBag
when:
branch: [ main, ci-testing ]
build:
image: mcr.microsoft.com/dotnet/sdk
commands:
- ls
when:
branch: [ main, ci-testing ]
branches: [ main, ci-testing ]