Skip to content

Support for Common Fusion Format #1

Support for Common Fusion Format

Support for Common Fusion Format #1

Workflow file for this run

name: Publish AGFusion to PyPI
on:
release:
types: [published]
jobs:
build-n-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
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 }}