Skip to content

add awpy cli commands to train the model and download the joblib file #3

add awpy cli commands to train the model and download the joblib file

add awpy cli commands to train the model and download the joblib file #3

Workflow file for this run

name: release
on:
push:
tags:
<<<<<<< HEAD

Check failure on line 6 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 6
- "release-v*.*.*"
=======
- 'release-v*.*.*'
>>>>>>> main
jobs:
build-and-release:
runs-on: ubuntu-latest
environment:
name: prod-release-pypi
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.9"
- name: Install Poetry
uses: abatilo/actions-poetry@v2
- name: Setup a local virtual environment for poetry
run: |
poetry config virtualenvs.create true --local
poetry config virtualenvs.in-project true --local
poetry config repositories.testpypi https://test.pypi.org/legacy/
- name: Install awpy
run: |
poetry install --no-interaction
<<<<<<< HEAD
- name: Publish to PyPI
run: |
poetry publish --build --username __token__ --password ${{ secrets.PYPI_API_TOKEN }} -vvv
=======
- name: Publish to PyPI
run: |
poetry publish --build --username __token__ --password ${{ secrets.PYPI_API_TOKEN }} -vvv
>>>>>>> main