Skip to content

Commit

Permalink
[ci] use api token when uploading dist to pypi.org
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoHsiao1 committed Dec 13, 2023
1 parent f9281ea commit badc272
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/make_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ reset_workdir(){
}

# Install dependencies
python3 -m pip install setuptools wheel twine
python3 -m pip install setuptools wheel twine

# Clear dist directory
rm -rf $DIST_DIR
Expand Down Expand Up @@ -92,4 +92,4 @@ make_wheels
reset_workdir

# upload to pypi.org
twine upload $DIST_DIR/*
twine upload -u __token__ $DIST_DIR/*

0 comments on commit badc272

Please sign in to comment.