mirror of
https://github.com/open-mmlab/mmengine.git
synced 2025-06-03 21:54:44 +08:00
[Enhance] Support trigger ci manually
This commit is contained in:
parent
8ec837814e
commit
5c65b3a2d1
6
.github/workflows/deploy.yml
vendored
6
.github/workflows/deploy.yml
vendored
@ -11,7 +11,8 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
build-n-publish:
|
build-n-publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: startsWith(github.event.ref, 'refs/tags')
|
if: |
|
||||||
|
startsWith(github.event.ref, 'refs/tags') || github.event_name == 'workflow_dispatch'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Python 3.10
|
- name: Set up Python 3.10
|
||||||
@ -29,7 +30,8 @@ jobs:
|
|||||||
|
|
||||||
build-n-publish-lite:
|
build-n-publish-lite:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: startsWith(github.event.ref, 'refs/tags')
|
if: |
|
||||||
|
startsWith(github.event.ref, 'refs/tags') || github.event_name == 'workflow_dispatch'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Python 3.10
|
- name: Set up Python 3.10
|
||||||
|
Loading…
x
Reference in New Issue
Block a user