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
|
- build
|
||||||
- publish
|
- 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:
|
variables:
|
||||||
DOTNET_CLI_TELEMETRY_OPTOUT: "1"
|
DOTNET_CLI_TELEMETRY_OPTOUT: "1"
|
||||||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1"
|
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1"
|
||||||
|
|
@ -11,7 +21,7 @@ variables:
|
||||||
build_windows:
|
build_windows:
|
||||||
stage: build
|
stage: build
|
||||||
tags:
|
tags:
|
||||||
- windows
|
- shared-windows
|
||||||
script:
|
script:
|
||||||
- dotnet --info
|
- dotnet --info
|
||||||
- dotnet restore
|
- dotnet restore
|
||||||
|
|
@ -25,7 +35,7 @@ build_windows:
|
||||||
publish_release:
|
publish_release:
|
||||||
stage: publish
|
stage: publish
|
||||||
tags:
|
tags:
|
||||||
- windows
|
- shared-windows
|
||||||
needs:
|
needs:
|
||||||
- build_windows
|
- build_windows
|
||||||
script:
|
script:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue