Skip to content

Merge pull request #53 from smartystreets/eric/add-geo-reference #77

Merge pull request #53 from smartystreets/eric/add-geo-reference

Merge pull request #53 from smartystreets/eric/add-geo-reference #77

Workflow file for this run

# This workflow will upload a Python Package using Twine when a release is created
name: Upload Python Package
on:
push:
tags:
- '*'
jobs:
publish:
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: Package
run: VERSION="${GITHUB_REF#refs/*/}" make package
- name: Publish Package to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}