Skip to content

Merge pull request #63 from BoothGroup/bump_version #18

Merge pull request #63 from BoothGroup/bump_version

Merge pull request #63 from BoothGroup/bump_version #18

Workflow file for this run

name: Publish
on:
push:
tags: ["v*"]
workflow_dispatch:
jobs:
release-pypi:
name: Publish to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/ebcc
permissions:
id-token: write
steps:
- uses: actions/checkout@v2
- name: Set up python "3.9"
uses: actions/setup-python@v2
with:
python-version: "3.9"
- name: Upgrade pip
run: |
python -m pip install --upgrade pip
- name: Install ebcc
run: |
python -m pip install wheel build
python -m pip install .[dev]
- name: Build wheel
run: |
python -m build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
verbose: true