Skip to content

ase-koopmans v0.1.5

ase-koopmans v0.1.5 #6

Workflow file for this run

name: Publish
on:
release:
types:
- published
env:
GIT_USER_NAME: 'ASE Koopmans developers'
GIT_USER_EMAIL: ${{ secrets.PUBLISH_EMAIL }}
jobs:
publish:
name: Publish ase-koopmans
runs-on: ubuntu-latest
if: github.repository == 'elinscott/ase_koopmans' && startsWith(github.ref, 'refs/tags/v')
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Python dependencies
run: |
python -m pip install -U pip
pip install -U setuptools wheel build
pip install -e .
- name: Build source distribution
run: python -m build
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}