From c2d317b01855bdd09e7f5e26dc323b6e9f04783b Mon Sep 17 00:00:00 2001 From: estrella Date: Mon, 12 Jun 2023 22:32:19 +0800 Subject: [PATCH] fix: ci problem --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 84b81232..805ac9b4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,7 @@ jobs: build-webui: if: > - ((github.event_name == 'pull_request') || + (github.event_name == 'pull_request') || (github.event_name == 'push' && github.ref_type == 'tag' && (contains(github.ref, 'alpha') || contains(github.ref, 'beta'))) runs-on: ubuntu-latest needs: [test] @@ -144,7 +144,7 @@ jobs: release: if: > - ((github.event_name == 'pull_request' && github.event.pull_request.merged == true) || + (github.event_name == 'pull_request' && github.event.pull_request.merged == true) || (github.event_name == 'push' && contains(github.ref, 'tags'))) runs-on: ubuntu-latest needs: [ build-docker ]