Browse Source

run release only on tagging

Frank Haverland 3 năm trước cách đây
mục cha
commit
b38c940dd3
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      .github/workflows/build.yaml

+ 2 - 1
.github/workflows/build.yaml

@@ -223,7 +223,8 @@ jobs:
   release: 
     runs-on: ubuntu-latest
     needs: [pack-for-OTA-v2, pack-for-fresh-install]
-
+    if: startsWith(github.ref, 'refs/tags/') 
+      
     steps:
     - uses: actions/checkout@v2