Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/pypi-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Release uinvers on PyPI
Comment thread
pombredanne marked this conversation as resolved.
Outdated

on:
release:
types: [created]

jobs:
build-n-publish:
name: Build and publish univers to PyPI
Comment thread
pombredanne marked this conversation as resolved.
Outdated
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@master
- name: Set up Python 3.6
Comment thread
pombredanne marked this conversation as resolved.
Outdated
uses: actions/setup-python@v1
with:
python-version: 3.6
Comment thread
pombredanne marked this conversation as resolved.
Outdated
- name: Install pypa/build
run: >-
python -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
run: >-
python -m
build
--sdist
--wheel
--outdir dist/
.
- name: Publish distribution 📦 to PyPI
Comment thread
pombredanne marked this conversation as resolved.
Outdated
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}
Comment thread
pombredanne marked this conversation as resolved.
Outdated