Skip to content
This repository was archived by the owner on Jul 11, 2024. It is now read-only.

Update to onboardapis 2.0.0 #4

Update to onboardapis 2.0.0

Update to onboardapis 2.0.0 #4

Workflow file for this run

# PyPI release
name: publish-to-pypi
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*'# Push events to matching v*, i.e. v1.0.0
jobs:
build-and-publish:
name: Build and publish to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: >-
python -m pip install -r requirements.txt
- name: Install pypa/build
run: >-
python -m
pip install -U
pip
build
--user
- name: Build a binary wheel and a source tarball
run: >-
python -m
build
--sdist
--wheel
--outdir dist/
.
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
if: startsWith(github.ref, 'refs/tags')
with:
password: ${{ secrets.PYPI_API_TOKEN }}