Skip to content

v0.11.4

v0.11.4 #29

Workflow file for this run

name: gretel-trainer pypi push
on:
release:
types: [published]
jobs:
push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.9
- name: Build wheel
run: |
pip install wheel
python setup.py sdist bdist_wheel
- name: Install wheel
run: pip install dist/gretel_trainer-*.whl
- name: Publish to Test PyPi
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{secrets.PY_PI_TEST}}
repository_url: https://test.pypi.org/legacy/
- name: Publish PyPi
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{secrets.PY_PI_PROD}}