Bump the actions group across 1 directory with 2 updates #638
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
release: | |
types: [ released ] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish.yml@d68193b68216da64eafaa618f53c59f5d271c56e # v1.14.0 | |
with: | |
upload_to_pypi: ${{ (github.event_name == 'release') && (github.event.action == 'released') }} | |
targets: | | |
# Linux wheels (except python 313) | |
- cp31[!3]-manylinux_x86_64 | |
# MacOS wheels (except python 313) | |
- cp31[!3]-macosx_x86_64 | |
# Until we have arm64 runners, we can't automatically test arm64 wheels | |
# (except python 313) | |
# - cp31[!3]-macosx_arm64 | |
sdist: true | |
test_command: python -c "from drizzlepac import cdriz" | |
secrets: | |
pypi_token: ${{ secrets.PYPI_PASSWORD_STSCI_MAINTAINER }} |