Update .woodpecker/build.yaml
This commit is contained in:
parent
e8ae174b2d
commit
6a5102ce7c
1 changed files with 3 additions and 8 deletions
|
@ -2,23 +2,18 @@ when:
|
|||
- event: tag
|
||||
- event: pull_request
|
||||
|
||||
variables:
|
||||
- &dotnet_image 'mcr.microsoft.com/dotnet/sdk:8.0'
|
||||
|
||||
# cspell:words bindata netgo
|
||||
|
||||
steps:
|
||||
|
||||
- name: Build
|
||||
image: *dotnet_image
|
||||
image: mcr.microsoft.com/dotnet/sdk:8.0
|
||||
run: dotnet build -c Release
|
||||
|
||||
- name: Test
|
||||
image: *dotnet_image
|
||||
image: mcr.microsoft.com/dotnet/sdk:8.0
|
||||
run: dotnet test
|
||||
|
||||
- name: Publish
|
||||
image: *dotnet_image
|
||||
image: mcr.microsoft.com/dotnet/sdk:8.0
|
||||
run: |
|
||||
cd .\EllieHub\
|
||||
dotnet publish -c Release -r win-x64 -o "build\EllieHub_win-x64" --self-contained
|
||||
|
|
Loading…
Reference in a new issue