Skip to content

Commit

Permalink
Converted to Poetry from twine
Browse files Browse the repository at this point in the history
  • Loading branch information
nir2602 authored Apr 1, 2024
1 parent 3befe11 commit d323498
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/python-dev-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,16 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install build setuptools poetry
- name: Build and publish
continue-on-error: true
env:
TWINE_USERNAME: ${{ secrets.DEV_PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.DEV_PYPI_PASSWORD }}
POETRY_REPOSITORIES_DEV_URL: http://${{ secrets.DEV_PYPI_ADDRESS }}:8080
POETRY_HTTP_BASIC_DEV_USERNAME: ${{ secrets.DEV_PYPI_USERNAME }}
POETRY_HTTP_BASIC_DEV_PASSWORD: ${{ secrets.DEV_PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload --repository-url http://${{ secrets.DEV_PYPI_ADDRESS }}:8080 dist/*
poetry build
poetry publish --repository dev
- name: Clone GuillaumeFalourd/poc-github-actions PUBLIC repository
uses: GuillaumeFalourd/clone-github-repo-action@v2
with:
Expand Down

0 comments on commit d323498

Please sign in to comment.