Skip to content

Upload Python DEV Package #7

Upload Python DEV Package

Upload Python DEV Package #7

name: Upload Python DEV Package
on:
release:
types: [created]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build setuptools poetry
- name: Build and publish
env:
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: |
poetry build
poetry publish --repository dev