Skip to content

aperture: fix slow aperture_photometry for large apertures #130

aperture: fix slow aperture_photometry for large apertures

aperture: fix slow aperture_photometry for large apertures #130

name: Build wheels and publish
on:
push
concurrency:
group: publish-${{ github.ref }}
cancel-in-progress: true
jobs:
publish-pypi:
name: Build and publish to PyPi
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 0
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.9
- 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 package to PyPi testing
if: github.ref == 'refs/heads/main'
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
- name: Publish package to PyPi
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}