Browse Source

Use glob pattern for the release triggers

Contributes to CURA-9365
j.spijker@ultimaker.com 2 years ago
parent
commit
955cf56dc3
1 changed files with 3 additions and 3 deletions
  1. 3 3
      .github/workflows/conan-package.yml

+ 3 - 3
.github/workflows/conan-package.yml

@@ -30,9 +30,9 @@ on:
         branches:
             - main
             - 'CURA-*'
-            - '[\d]+.[\d]+'
+            - '[1-9]+.[-0-9]+'
         tags:
-            - '[\d]+.[\d]+'
+            - '[1-9]+.[0-9]+.[0-9]+'
 
     pull_request:
         paths:
@@ -47,7 +47,7 @@ on:
             - 'requirements*.txt'
         branches:
             - main
-            - '[\d]+.[\d]+'
+            - '[1-9]+.[-0-9]+'
 
 
 jobs: