Skip to content

v0.1.8

v0.1.8 #17

Workflow file for this run

name: Publish Package to PyPI
on:
release:
types:
- published
jobs:
build-and-publish:
if: github.repository == 'ni/niflexlogger-automation-python'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install setuptools and other tools
run: python3 -m pip install setuptools wheel twine grpcio grpcio-tools
- name: Build packages
run: python3 setup.py bdist_wheel
- name: Publish distribution to PyPI
if: github.event.action == 'published'
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_password }}