2023-09-04 21:24:06 +00:00
|
|
|
stages:
|
2023-09-04 21:26:35 +00:00
|
|
|
- build
|
2023-09-04 21:24:06 +00:00
|
|
|
|
|
|
|
build:
|
2023-09-04 21:26:35 +00:00
|
|
|
image: mcr.microsoft.com/dotnet/sdk:7.0.400-jammy-amd64
|
|
|
|
stage: build
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
artifacts:
|
2023-09-04 21:28:43 +00:00
|
|
|
paths:
|
2023-09-04 21:26:35 +00:00
|
|
|
- publish/ArtifactTest
|
2023-09-04 21:27:58 +00:00
|
|
|
script:
|
|
|
|
- cd src && dotnet publish -o ../publish --self-contained -p:PublishReadyToRun=true -p:PublishSingleFile=true -c Release
|