Skip to content

Commit

Permalink
Merge pull request #1802 from zacharyburnett/ci/consolidate_build_wor…
Browse files Browse the repository at this point in the history
…kflow

consolidate build workflow
  • Loading branch information
braingram authored Jul 16, 2024
2 parents dda613b + ae865a0 commit 1b046e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
name: build

on:
pull_request:
release:
types: [released]
workflow_dispatch:

jobs:
publish:
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') }}
test_extras: tests
test_command: pytest --pyargs asdf
secrets:
pypi_token: ${{ secrets.PYPI_PASSWORD_ASDF_MAINTAINER }}
10 changes: 0 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,3 @@ jobs:
default_python: '3.9'
envs: |
- linux: compatibility
package:
needs: [core]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1
with:
python-version: "3.11"
upload_to_pypi: false
upload_to_anaconda: false
test_extras: tests
test_command: pytest --pyargs asdf

0 comments on commit 1b046e7

Please sign in to comment.