Skip to content

release: v0.12.0

release: v0.12.0 #5

Workflow file for this run

name: Publish
on:
push:
tags:
- v*
jobs:
Publish:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 2.7
- name: Install dependencies
run: |
python -m pip install --upgrade "pip>=20,<21" "setuptools>=40,<46" wheel
- name: Build package
# Remove `compile_catalog` if the package has no translations.
run: |
python setup.py sdist bdist_wheel
- name: Publish on PyPI
uses: pypa/gh-action-pypi-publish@v1.3.1
with:
user: __token__
# The token is provided by the CERNDocumentServer organization
password: ${{ secrets.pypi_token }}