2023-12-27 17:10:18 +00:00
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
|
|
|
|
build:
|
|
|
|
image: mcr.microsoft.com/dotnet/sdk:7.0.400-jammy-amd64
|
|
|
|
stage: build
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- publish
|
|
|
|
script:
|
2023-12-27 17:11:12 +00:00
|
|
|
- mkdir publish
|
|
|
|
- cp -r data publish/
|
2023-12-27 17:10:18 +00:00
|
|
|
- dotnet publish -o publish --self-contained -p:PublishReadyToRun=true -p:PublishSingleFile=true -c Release
|