fix: ci problem

This commit is contained in:
estrella
2023-06-12 22:30:54 +08:00
parent d44d312ccc
commit cbc5f77236
2 changed files with 8 additions and 6 deletions

View File

@@ -26,8 +26,8 @@ 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 == 'pull_request') ||
(github.event_name == 'push' && github.ref_type == 'tag' && (contains(github.ref, 'alpha') || contains(github.ref, 'beta')))
runs-on: ubuntu-latest
needs: [test]
steps:
@@ -144,8 +144,8 @@ 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 == 'pull_request' && github.event.pull_request.merged == true) ||
(github.event_name == 'push' && contains(github.ref, 'tags')))
runs-on: ubuntu-latest
needs: [ build-docker ]
steps: