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