We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 374dcd4 commit 0601023Copy full SHA for 0601023
.github/workflows/release_pypi_after_merge.yml
@@ -7,12 +7,14 @@ on:
7
- 'version.txt'
8
types:
9
- closed
10
-
+permissions:
11
+ id-token: write
12
+ contents: read
13
jobs:
14
build-n-publish:
15
if: github.event_name == 'workflow_dispatch' || github.repository == 'hpcaitech/ColossalAI' && github.event.pull_request.merged == true && github.base_ref == 'main'
16
name: Build and publish Python 🐍 distributions 📦 to PyPI
- runs-on: ubuntu-[self-hosted, ubuntu-latest]
17
+ runs-on: ubuntu-latest
18
timeout-minutes: 20
19
steps:
20
- uses: actions/checkout@v2
@@ -35,7 +37,7 @@ jobs:
35
37
notify:
36
38
name: Notify Lark via webhook
39
needs: build-n-publish
- runs-on: [self-hosted, ubuntu-latest]
40
41
if: ${{ always() }}
42
43
0 commit comments