Skip to content

Merge pull request #100 from geopython/release-please--branches--main #12

Merge pull request #100 from geopython/release-please--branches--main

Merge pull request #100 from geopython/release-please--branches--main #12

Workflow file for this run

name: publish
on:
push:
tags:
- release-*
- "v*"
jobs:
publish:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
name: Setup Python
with:
python-version: "3.x"
- name: Install build dependency
run: pip install wheel setuptools
- name: Build package
run: python setup.py sdist bdist_wheel --universal
- name: Publish package
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 }}