From 8f91deb92a094207dcd85e1d53f2f18289bce630 Mon Sep 17 00:00:00 2001 From: Jay Zhang Date: Fri, 20 Sep 2024 18:09:19 +0800 Subject: [PATCH 1/2] feat: trigger on release created instead of any tag --- .github/workflows/build_linux_ubuntu1804.yml | 4 ++-- .github/workflows/build_linux_ubuntu2204.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_linux_ubuntu1804.yml b/.github/workflows/build_linux_ubuntu1804.yml index 6b1bb306a..c967a993a 100644 --- a/.github/workflows/build_linux_ubuntu1804.yml +++ b/.github/workflows/build_linux_ubuntu1804.yml @@ -1,11 +1,11 @@ name: Build - linux ubuntu1804 on: + release: + types: [created] push: branches: - "**" - tags: - - "**" paths-ignore: - "tools/**" - "docs/**" diff --git a/.github/workflows/build_linux_ubuntu2204.yml b/.github/workflows/build_linux_ubuntu2204.yml index e9f8e638e..258515731 100644 --- a/.github/workflows/build_linux_ubuntu2204.yml +++ b/.github/workflows/build_linux_ubuntu2204.yml @@ -1,11 +1,11 @@ name: Build - linux ubuntu2204 on: + release: + types: [created] push: branches: - "**" - tags: - - "**" paths-ignore: - "tools/**" - "docs/**" From 09e2ccb8db658a8fa576aca60677495e3bfb67ad Mon Sep 17 00:00:00 2001 From: Jay Zhang Date: Fri, 20 Sep 2024 18:09:35 +0800 Subject: [PATCH 2/2] chore: no need to build mac/win on tag --- .github/workflows/build_mac.yml | 2 -- .github/workflows/build_win.yml | 2 -- 2 files changed, 4 deletions(-) diff --git a/.github/workflows/build_mac.yml b/.github/workflows/build_mac.yml index 7ddb510e8..f9ce6a5d3 100644 --- a/.github/workflows/build_mac.yml +++ b/.github/workflows/build_mac.yml @@ -4,8 +4,6 @@ on: push: branches: - "**" - tags: - - "**" paths-ignore: - "tools/**" - "docs/**" diff --git a/.github/workflows/build_win.yml b/.github/workflows/build_win.yml index 28e5b5404..2eb8d22e1 100644 --- a/.github/workflows/build_win.yml +++ b/.github/workflows/build_win.yml @@ -4,8 +4,6 @@ on: push: branches: - "**" - tags: - - "**" paths-ignore: - "tools/**" - "docs/**"