Skip to content

Revert build workflow back to using python 3.12 #685

Revert build workflow back to using python 3.12

Revert build workflow back to using python 3.12 #685

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.yml@8c0fde6f7e926df6ed7057255d29afa9c1ad5320 # v1.16.0
with:
upload_to_pypi: ${{ (github.event_name == 'release') && (github.event.action == 'released') }}
targets: |
# Linux wheels (except python 312)
- cp31[!3]-manylinux_x86_64
# MacOS wheels (except python 312)
- cp31[!3]-macosx_x86_64
# Until we have arm64 runners, we can't automatically test arm64 wheels
# (except python 312)
# - cp31[!3]-macosx_arm64
sdist: true
test_command: python -c "from drizzlepac import cdriz"
secrets:
pypi_token: ${{ secrets.PYPI_PASSWORD_STSCI_MAINTAINER }}