Modified structure for Woodpecker config
This commit is contained in:
15
.woodpecker/.api_build.yaml
Normal file
15
.woodpecker/.api_build.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
skip_clone: true
|
||||
when:
|
||||
when:
|
||||
- event: [push, pull_request, tag]
|
||||
branch: [api/*]
|
||||
refs: [ref/tags/APIDEV-*, ref/tags/API-*]
|
||||
steps:
|
||||
- name: (YABA.API) Build and run tests
|
||||
when:
|
||||
- event: [push, pull_request, tag]
|
||||
branch: [api/*]
|
||||
image: mcr.microsoft.com/dotnet/sdk:6.0
|
||||
commands:
|
||||
- dotnet build ./API
|
||||
- dotnet test ./API
|
||||
Reference in New Issue
Block a user