Update .woodpecker/build.yaml

This commit is contained in:
Toastie 2024-07-18 07:33:21 -07:00
parent e8ae174b2d
commit 6a5102ce7c

View file

@ -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