artifacttest/.gitlab-ci.yml

13 lines
306 B
YAML
Raw Normal View History

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