Skip to content

linting

linting #4

Workflow file for this run

name: Publish saturnfs to PyPI
on:
push:
tags:
- '*'
jobs:
build-and-publish:
name: Build and publish saturnfs to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install build dependencies
run: >-
python -m
pip install
setuptools
wheel
--upgrade
--user
- name: Build a binary wheel and a source tarball
run: >-
python
setup.py
sdist
bdist_wheel
- name: Publish distribution to PyPI
if: startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@v1.3.0
with:
# Password is set in GitHub UI to an API secret for pypi
user: __token__
password: ${{ secrets.pypi_password }}