Skip to content

Commit

Permalink
fix: Try publishing to PyPI directly (not semantic-release)
Browse files Browse the repository at this point in the history
  • Loading branch information
faucomte97 committed May 23, 2024
1 parent 52534a0 commit 112e0a6
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/publish-python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 112e0a6

Please sign in to comment.