Update .gitlab-ci.yml file

This commit is contained in:
femsci 2021-04-26 15:47:46 +00:00
parent c4ba9949b3
commit d62605917b
Signed by: femsci
GPG key ID: 08F7911F0E650C67

View file

@ -19,10 +19,8 @@ build:
publish:
stage: publish
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
image: mcr.microsoft.com/dotnet/sdk:5.0
only:
- master
script:
- dotnet restore --interactive
- dotnet publish --configuration Release -o publish -p:PublishReadyToRun=true -p:PublishSingleFile=true --self-contained false -r linux-x64 -p:IncludeNativeLibrariesForSelfExtract=true