Make sure user-specified metadata isn't blown away by default metadata. #240
Workflow file for this run
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@924441154cf3053034c6513d5e06c69d262fb9a6 # v1.13.0 | |
with: | |
env: | | |
FFTW_DIR: /opt/homebrew/opt/fftw/lib/ | |
targets: | | |
# Linux wheels | |
- cp3*-manylinux_x86_64 | |
# MacOS wheels | |
- cp3*-macosx_x86_64 | |
# MacOS arm64 wheels | |
- cp3*-macosx_arm64 | |
sdist: true | |
test_command: python -c "from romanisim import ramp_fit_casertano" | |
upload_to_pypi: ${{ (github.event_name == 'release') && (github.event.action == 'released') }} | |
secrets: | |
pypi_token: ${{ secrets.PYPI_PASSWORD_STSCI_MAINTAINER }} |