# name: Upload Python Package # on: # push: # tags: # - '*' # Will trigger for every tag, alternative: 'v*' # jobs: # deploy: # runs-on: ubuntu-latest # steps: # - uses: actions/checkout@v1 # - name: Set up Python # uses: actions/setup-python@v1 # with: # python-version: '3.x' # - name: Install dependencies # run: | # python -m pip install --pre -U poetry # poetry --version # poetry install # - name: Build and publish # env: # PYPI_USERNAME: __token__ # PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} # run: | # ./scripts/publish