mirror of
https://github.com/rnvm9wjdtj-bot/myaps_api.git
synced 2026-06-02 05:54:40 +00:00
ci(github workflows): 允许手动触发构建交付物工作流
新增workflow_dispatch事件触发条件,让该job可以手动运行
This commit is contained in:
@@ -231,7 +231,7 @@ jobs:
|
||||
name: 构建交付物
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build-and-test, security-scan]
|
||||
if: github.event_name == 'push'
|
||||
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
|
||||
|
||||
outputs:
|
||||
image-tag: ${{ steps.meta.outputs.version }}
|
||||
|
||||
Reference in New Issue
Block a user