Skip to content

Commit df81934

Browse files
author
谭策
committed
fix(cicd): 添加 if: always() 确保构建任务不受 Quality Gates 影响
1 parent d3ac604 commit df81934

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
name: Build & Push Backend
8888
needs: [quality-gates]
8989
runs-on: ubuntu-latest
90-
if: github.event_name == 'workflow_dispatch' && inputs.push_to_registry || startsWith(github.ref, 'refs/tags/')
90+
if: always() && (github.event_name == 'workflow_dispatch' && inputs.push_to_registry || startsWith(github.ref, 'refs/tags/'))
9191
steps:
9292
- name: Checkout
9393
uses: actions/checkout@v4

0 commit comments

Comments
 (0)