-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Try publishing to PyPI directly (not semantic-release)
- Loading branch information
1 parent
52534a0
commit 112e0a6
Showing
1 changed file
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,12 +29,23 @@ jobs: | |
run: | | ||
git config --local user.name cfl-bot | ||
git config --local user.email [email protected] | ||
- name: Release codeforlife-portal | ||
uses: relekang/[email protected] | ||
# - name: Release codeforlife-portal | ||
# uses: relekang/[email protected] | ||
# with: | ||
# github_token: ${{ secrets.CFL_BOT_GITHUB_TOKEN }} | ||
# pypi_token: ${{ secrets.PYPI_TOKEN }} | ||
# continue-on-error: true | ||
- name: Build portal package | ||
run: | | ||
pip install wheel | ||
python setup.py sdist bdist_wheel | ||
- name: Publish portal package to PyPi | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
github_token: ${{ secrets.CFL_BOT_GITHUB_TOKEN }} | ||
pypi_token: ${{ secrets.PYPI_TOKEN }} | ||
continue-on-error: true | ||
user: __token__ | ||
password: ${{ secrets.PYPI_TOKEN }} | ||
packages_dir: dist/ | ||
skip_existing: true | ||
- name: Build cfl-common package | ||
run: | | ||
pip install wheel | ||
|