From 16aff04ccdba3e5117467aba4ab6fe026b568f5f Mon Sep 17 00:00:00 2001 From: MaddoScientisto Date: Mon, 16 Feb 2026 22:01:16 +0100 Subject: [PATCH] Updated runner --- .gitlab-ci.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d20e627..5ba6ff4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: