Update .gitlab-ci.yml file
This commit is contained in:
parent
c4ba9949b3
commit
d62605917b
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue