fix: ci problem

This commit is contained in:
estrella
2023-06-12 22:33:43 +08:00
parent c2d317b018
commit 762257c581

View File

@@ -27,7 +27,7 @@ jobs:
build-webui:
if: >
(github.event_name == 'pull_request') ||
(github.event_name == 'push' && github.ref_type == 'tag' && (contains(github.ref, 'alpha') || contains(github.ref, 'beta')))
(github.event_name == 'push' && github.ref_type == 'tag' && (contains(github.ref, 'alpha') || contains(github.ref, 'beta'))
runs-on: ubuntu-latest
needs: [test]
steps:
@@ -145,7 +145,7 @@ jobs:
release:
if: >
(github.event_name == 'pull_request' && github.event.pull_request.merged == true) ||
(github.event_name == 'push' && contains(github.ref, 'tags')))
(github.event_name == 'push' && contains(github.ref, 'tags'))
runs-on: ubuntu-latest
needs: [ build-docker ]
steps: