Update .gitlab-ci.yml file

This commit is contained in:
Michael Nolan 2023-09-04 21:26:35 +00:00
parent d361bae7ec
commit 6288c264d4
1 changed files with 10 additions and 10 deletions

View File

@ -1,13 +1,13 @@
stages:
- build
- build
build:
image: mcr.microsoft.com/dotnet/sdk:7.0.400-jammy-amd64
stage: build
only:
- master
artifacts:
path:
- publish/ArtifactTest
script:
- cd src && dotnet publish -o ../publish --self-contained -p:PublishReadyToRun=true -p:PublishSingleFile=true -c Release
image: mcr.microsoft.com/dotnet/sdk:7.0.400-jammy-amd64
stage: build
only:
- master
artifacts:
path:
- publish/ArtifactTest
script:
- cd src && dotnet publish -o ../publish --self-contained -p:PublishReadyToRun=true -p:PublishSingleFile=true -c Release