Skip to content

Separated out zip logic from send_image_data() #82

Separated out zip logic from send_image_data()

Separated out zip logic from send_image_data() #82

name: 'Build and publish package to PyPI'
on:
push: {}
pull_request: {}
release:
types: [published]
jobs:
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/rubin.citsci/
permissions:
id-token: write
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # full history for setuptools_scm
- name: Build and publish
uses: lsst-sqre/build-and-publish-to-pypi@v2
with:
python-version: "3.11"