|
stages:
|
|
- build
|
|
|
|
build:
|
|
image: mcr.microsoft.com/dotnet/sdk:7.0.400-jammy-amd64
|
|
stage: build
|
|
only:
|
|
- master
|
|
artifacts:
|
|
paths:
|
|
- publish
|
|
script:
|
|
- cp -r data publish/data
|
|
- dotnet publish -o publish --self-contained -p:PublishReadyToRun=true -p:PublishSingleFile=true -c Release
|