Skip to content

v1.4.3

v1.4.3 #9

Workflow file for this run

name: Publish AGFusion to PyPI
on:
release:
types: [published]
jobs:
build-n-publish:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/agfusion
steps:
- uses: actions/checkout@v4
name: Check out source-code repository
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install python dependencies
run: |
python -m pip install --upgrade pip setuptools wheel build
pip install .
- name: Build the distribution
run: python setup.py sdist bdist_wheel
- name: Publish AGFusion to PyPI
if: github.repository == 'murphycj/AGFusion'
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}