Skip to content

Commit

Permalink
use OpenAstronomy-maintained build action and also test build (withou…
Browse files Browse the repository at this point in the history
…t release) on pull request
  • Loading branch information
zacharyburnett committed Aug 22, 2024
1 parent 4ab55d7 commit 9d61d96
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

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 }}
16 changes: 0 additions & 16 deletions .github/workflows/publish-to-pypi.yml

This file was deleted.

0 comments on commit 9d61d96

Please sign in to comment.