Skip to content

Bump urllib3 from 1.26.15 to 1.26.18 (#128) #85

Bump urllib3 from 1.26.15 to 1.26.18 (#128)

Bump urllib3 from 1.26.15 to 1.26.18 (#128) #85

Workflow file for this run

---
name: 'test_deploy'
'on':
push:
branches:
- 'main'
jobs:
pypi_deploy:
runs-on: 'ubuntu-latest'
steps:
- name: 'Checkout repo'
uses: 'actions/checkout@v4'
- name: Install poetry
run: pipx install poetry
- name: 'Set up Python 3.10'
uses: actions/setup-python@v4
with:
cache: 'poetry'
python-version: '3.10'
- name: 'Configure Poetry'
run: 'poetry config virtualenvs.in-project true'
- name: 'Install dependencies'
run: 'poetry install'
- name: 'Setup PyPi credential'
env:
PYPI_TOKEN: ${{ secrets.PYPI_TEST_TOKEN }}
run: |
poetry config repositories.testpypi https://test.pypi.org/legacy/
poetry config pypi-token.testpypi "$PYPI_TOKEN"
- name: 'Package build'
run: 'poetry build'
- name: 'Publish package to PyPi'
run: 'poetry publish --dry-run -r testpypi'