Skip to content

Commit

Permalink
add build/release workflow (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram authored Feb 29, 2024
1 parent 24e9024 commit f5f00aa
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
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 }}

0 comments on commit f5f00aa

Please sign in to comment.