Update .gitlab-ci.yml file
This commit is contained in:
parent
d361bae7ec
commit
6288c264d4
|
@ -1,13 +1,13 @@
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
|
|
||||||
build:
|
build:
|
||||||
image: mcr.microsoft.com/dotnet/sdk:7.0.400-jammy-amd64
|
image: mcr.microsoft.com/dotnet/sdk:7.0.400-jammy-amd64
|
||||||
stage: build
|
stage: build
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
artifacts:
|
artifacts:
|
||||||
path:
|
path:
|
||||||
- publish/ArtifactTest
|
- publish/ArtifactTest
|
||||||
script:
|
script:
|
||||||
- cd src && dotnet publish -o ../publish --self-contained -p:PublishReadyToRun=true -p:PublishSingleFile=true -c Release
|
- cd src && dotnet publish -o ../publish --self-contained -p:PublishReadyToRun=true -p:PublishSingleFile=true -c Release
|
Loading…
Reference in New Issue