mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-06-25 06:52:46 +00:00
Update release_pypi_after_merge.yml
This commit is contained in:
parent
374dcd4da9
commit
060102372e
@ -7,12 +7,14 @@ on:
|
|||||||
- 'version.txt'
|
- 'version.txt'
|
||||||
types:
|
types:
|
||||||
- closed
|
- closed
|
||||||
|
permissions:
|
||||||
|
id-token: write
|
||||||
|
contents: read
|
||||||
jobs:
|
jobs:
|
||||||
build-n-publish:
|
build-n-publish:
|
||||||
if: github.event_name == 'workflow_dispatch' || github.repository == 'hpcaitech/ColossalAI' && github.event.pull_request.merged == true && github.base_ref == 'main'
|
if: github.event_name == 'workflow_dispatch' || github.repository == 'hpcaitech/ColossalAI' && github.event.pull_request.merged == true && github.base_ref == 'main'
|
||||||
name: Build and publish Python 🐍 distributions 📦 to PyPI
|
name: Build and publish Python 🐍 distributions 📦 to PyPI
|
||||||
runs-on: ubuntu-[self-hosted, ubuntu-latest]
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 20
|
timeout-minutes: 20
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -35,7 +37,7 @@ jobs:
|
|||||||
notify:
|
notify:
|
||||||
name: Notify Lark via webhook
|
name: Notify Lark via webhook
|
||||||
needs: build-n-publish
|
needs: build-n-publish
|
||||||
runs-on: [self-hosted, ubuntu-latest]
|
runs-on: ubuntu-latest
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
Loading…
Reference in New Issue
Block a user