Browse Source

CI: ignore pre-release and alpha tags in electron build workflow

CaIon 4 tháng trước cách đây
mục cha
commit
64a97092c9
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      .github/workflows/electron-build.yml

+ 2 - 0
.github/workflows/electron-build.yml

@@ -4,6 +4,8 @@ on:
   push:
     tags:
       - '*'  # Triggers on version tags like v1.0.0
+      - '!*-*'  # Ignore pre-release tags like v1.0.0-beta
+      - '!*-alpha*' # Ignore alpha tags like v1.0.0-alpha
   workflow_dispatch:  # Allows manual triggering
 
 jobs: