소스 검색

Update macOS workflow to trigger on version tags

Modify workflow to trigger on version tags only.
Adam Djellouli 1 개월 전
부모
커밋
d76ec79a1b
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      .github/workflows/macos.yml

+ 4 - 1
.github/workflows/macos.yml

@@ -1,5 +1,8 @@
 name: macOS Build
-on: [push, pull_request]
+on:
+  push:
+    tags:
+      - 'v*'   # run only on tags like v1.2.3
 
 permissions:
   contents: read