Evaluate Build Dist Dir #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: | |
- automation/package-releases | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Build the Package | |
run: | | |
# Install Poetry | |
pipx install poetry==1.2.0 | |
# Set PyPI Repository and Credentials | |
poetry config repositories.pypi ${{ secrets.PYPI_REPOSITORIES }} | |
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }} | |
# Build the Package | |
poetry build --output=./dist | |
# Dist Dir | |
ls -la ./dist | |
# Publish to PyPI | |
# poetry publish --repository pypi |