From fdd321356a0fc399174925fe76f5ce67985d68d8 Mon Sep 17 00:00:00 2001 From: dvonthenen Date: Fri, 16 Feb 2024 12:40:30 -0800 Subject: [PATCH] Do Not Publish Pre-Release Builds in Official Releases in Nuget --- .github/workflows/CD-dev.yml | 3 +++ .github/workflows/CD.yml | 9 +++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CD-dev.yml b/.github/workflows/CD-dev.yml index 2f8db9fa..5cd1e6d3 100644 --- a/.github/workflows/CD-dev.yml +++ b/.github/workflows/CD-dev.yml @@ -6,6 +6,9 @@ on: - "!not_activated_on_branches!*" tags: - "[0-9]+.[0-9]+.[0-9]+-dev.[0-9]+" + - "[0-9]+.[0-9]+.[0-9]+-alpha.[0-9]+" + - "[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+" + - "[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+" jobs: build: diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index 1bee3747..f6b66278 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -1,7 +1,12 @@ name: CD + on: - release: - types: [published] + push: + branches: + - "!not_activated_on_branches!*" + tags: + - "[0-9]+.[0-9]+.[0-9]+" + jobs: build: runs-on: ubuntu-latest