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
254ee2c5
Unverified
Commit
254ee2c5
authored
Nov 24, 2022
by
Frank Lee
Committed by
GitHub
Nov 24, 2022
Browse files
[workflow] removed unused pypi release workflow (#2022)
parent
2e9cbfca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
49 deletions
+0
-49
.github/workflows/release.yml
.github/workflows/release.yml
+0
-24
.github/workflows/release_test.yml
.github/workflows/release_test.yml
+0
-25
No files found.
.github/workflows/release.yml
deleted
100644 → 0
View file @
2e9cbfca
name
:
Publish to PyPI
on
:
workflow_dispatch
jobs
:
build-n-publish
:
if
:
github.ref_name == 'main' && github.repository == 'hpcaitech/ColossalAI' && contains(fromJson('["FrankLeeeee", "ver217", "feifeibear", "kurisusnowdeng"]'), github.actor)
name
:
Build and publish Python 🐍 distributions 📦 to PyPI
runs-on
:
ubuntu-latest
timeout-minutes
:
20
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
actions/setup-python@v2
with
:
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
uses
:
pypa/gh-action-pypi-publish@release/v1
with
:
user
:
__token__
password
:
${{ secrets.PYPI_API_TOKEN }}
verbose
:
true
.github/workflows/release_test.yml
deleted
100644 → 0
View file @
2e9cbfca
name
:
Publish to Test PyPI
on
:
workflow_dispatch
jobs
:
build-n-publish
:
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
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
actions/setup-python@v2
with
:
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
uses
:
pypa/gh-action-pypi-publish@release/v1
with
:
user
:
__token__
password
:
${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url
:
https://test.pypi.org/legacy/
verbose
:
true
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