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: tag
|
||||||
- event: pull_request
|
- event: pull_request
|
||||||
|
|
||||||
variables:
|
|
||||||
- &dotnet_image 'mcr.microsoft.com/dotnet/sdk:8.0'
|
|
||||||
|
|
||||||
# cspell:words bindata netgo
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
image: *dotnet_image
|
image: mcr.microsoft.com/dotnet/sdk:8.0
|
||||||
run: dotnet build -c Release
|
run: dotnet build -c Release
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
image: *dotnet_image
|
image: mcr.microsoft.com/dotnet/sdk:8.0
|
||||||
run: dotnet test
|
run: dotnet test
|
||||||
|
|
||||||
- name: Publish
|
- name: Publish
|
||||||
image: *dotnet_image
|
image: mcr.microsoft.com/dotnet/sdk:8.0
|
||||||
run: |
|
run: |
|
||||||
cd .\EllieHub\
|
cd .\EllieHub\
|
||||||
dotnet publish -c Release -r win-x64 -o "build\EllieHub_win-x64" --self-contained
|
dotnet publish -c Release -r win-x64 -o "build\EllieHub_win-x64" --self-contained
|
||||||
|
|
Loading…
Reference in a new issue