Updated runner
This commit is contained in:
parent
da9d9875b0
commit
16aff04ccd
1 changed files with 12 additions and 2 deletions
|
|
@ -2,6 +2,16 @@ stages:
|
|||
- build
|
||||
- publish
|
||||
|
||||
# Only create pipelines automatically when a Git tag is pushed.
|
||||
# Otherwise the pipeline must be started manually (pipeline "Run" / dispatch equivalent).
|
||||
workflow:
|
||||
rules:
|
||||
- if: '$CI_COMMIT_TAG'
|
||||
when: always
|
||||
- if: '$CI_PIPELINE_SOURCE == "web"'
|
||||
when: always
|
||||
- when: never
|
||||
|
||||
variables:
|
||||
DOTNET_CLI_TELEMETRY_OPTOUT: "1"
|
||||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1"
|
||||
|
|
@ -11,7 +21,7 @@ variables:
|
|||
build_windows:
|
||||
stage: build
|
||||
tags:
|
||||
- windows
|
||||
- shared-windows
|
||||
script:
|
||||
- dotnet --info
|
||||
- dotnet restore
|
||||
|
|
@ -25,7 +35,7 @@ build_windows:
|
|||
publish_release:
|
||||
stage: publish
|
||||
tags:
|
||||
- windows
|
||||
- shared-windows
|
||||
needs:
|
||||
- build_windows
|
||||
script:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue