Skip to content

Model Tuner 0.0.27b #29

Model Tuner 0.0.27b

Model Tuner 0.0.27b #29

Workflow file for this run

name: Publish `model_tuner` Python Package
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x' # Setup with version 3.x
- name: Install build tools
run: |
python -m pip install --upgrade pip
pip install build twine
- name: List files in the directory
run: ls -la
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python -m build # Use build to handle pyproject.toml
twine upload dist/*