From a40e7bc8f30889eb7aab8a69d0d2bdf086e4c0d8 Mon Sep 17 00:00:00 2001 From: ringsaturn Date: Sun, 20 Aug 2023 00:01:09 +0800 Subject: [PATCH] Fix release condition --- .github/workflows/CI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 7a8e1eb..5d8960c 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -127,7 +127,7 @@ jobs: release: name: Release runs-on: ubuntu-latest - if: github.event_name == 'release' && github.event.action == 'published' + if: startsWith(github.ref, 'refs/tags/') needs: [ macos,