Skip to content

use PyPI upload workflow from OpenAstronomy #2

use PyPI upload workflow from OpenAstronomy

use PyPI upload workflow from OpenAstronomy #2

Workflow file for this run

name: build
on:
release:
types: [ released ]
pull_request:
workflow_dispatch:
jobs:
build:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1
with:
upload_to_pypi: ${{ (github.event_name == 'release') && (github.event.action == 'released') }}
secrets:
pypi_token: ${{ secrets.PYPI_PASSWORD_STSCI_MAINTAINER }}