Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ColossalAI
Commits
2963565f
Unverified
Commit
2963565f
authored
Mar 18, 2022
by
Frank Lee
Committed by
GitHub
Mar 18, 2022
Browse files
[test] fixed release workflow step (#464)
parent
292590e0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
.github/workflows/release.yml
.github/workflows/release.yml
+2
-1
.github/workflows/release_test.yml
.github/workflows/release_test.yml
+3
-2
No files found.
.github/workflows/release.yml
View file @
2963565f
...
...
@@ -12,7 +12,8 @@ jobs:
-
uses
:
actions/checkout@v2
-
uses
:
actions/setup-python@v2
with
:
python-version
:
'
3.7.4'
python-version
:
'
3.7.12'
-
run
:
python setup.py sdist build
# publish to PyPI if executed on the main branch
# publish to Test PyPI if executed on the develop branch
-
name
:
Publish package to PyPI
...
...
.github/workflows/release_test.yml
View file @
2963565f
...
...
@@ -4,7 +4,7 @@ on: workflow_dispatch
jobs
:
build-n-publish
:
if
:
github.ref_name == 'main' &&
github.repository == 'hpcaitech/ColossalAI' && contains(fromJson('["FrankLeeeee", "ver217", "feifeibear", "kurisusnowdeng"]'), github.actor)
if
:
github.repository == 'hpcaitech/ColossalAI' && contains(fromJson('["FrankLeeeee", "ver217", "feifeibear", "kurisusnowdeng"]'), github.actor)
name
:
Build and publish Python 🐍 distributions 📦 to Test PyPI
runs-on
:
ubuntu-latest
timeout-minutes
:
20
...
...
@@ -12,7 +12,8 @@ jobs:
-
uses
:
actions/checkout@v2
-
uses
:
actions/setup-python@v2
with
:
python-version
:
'
3.7.4'
python-version
:
'
3.7.12'
-
run
:
python setup.py sdist build
# publish to PyPI if executed on the main branch
# publish to Test PyPI if executed on the develop branch
-
name
:
Publish package to Test PyPI
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment