f877c37fc6
tests / Test (macos-latest, 3.14) (push) Has been cancelled
tests / Test (ubuntu-latest, 3.10) (push) Has been cancelled
tests / Test (ubuntu-latest, 3.11) (push) Has been cancelled
tests / Test (windows-latest, 3.13) (push) Has been cancelled
tests / Test (windows-latest, 3.14) (push) Has been cancelled
tests / Validate (push) Has been cancelled
tests / Test (macos-latest, 3.10) (push) Has been cancelled
tests / Test (macos-latest, 3.11) (push) Has been cancelled
tests / Test (macos-latest, 3.12) (push) Has been cancelled
tests / Test (macos-latest, 3.13) (push) Has been cancelled
tests / Test (ubuntu-latest, 3.12) (push) Has been cancelled
tests / Test (ubuntu-latest, 3.13) (push) Has been cancelled
tests / Test (ubuntu-latest, 3.14) (push) Has been cancelled
tests / Test (windows-latest, 3.10) (push) Has been cancelled
tests / Test (windows-latest, 3.11) (push) Has been cancelled
tests / Test (windows-latest, 3.12) (push) Has been cancelled
universe validation / Validate (push) Has been cancelled
32 lines
1.0 KiB
YAML
32 lines
1.0 KiB
YAML
# The cibuildwheel action triggers on creation of a release, this
|
|
# triggers on publication.
|
|
# The expected workflow is to create a draft release and let the wheels
|
|
# upload, and then hit 'publish', which uploads to PyPi.
|
|
|
|
on:
|
|
release:
|
|
types:
|
|
- published
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
upload_pypi:
|
|
runs-on: ubuntu-latest
|
|
environment:
|
|
name: pypi
|
|
url: https://pypi.org/p/spacy
|
|
permissions:
|
|
id-token: write
|
|
contents: read
|
|
if: github.event_name == 'release' && github.event.action == 'published'
|
|
# or, alternatively, upload to PyPI on every tag starting with 'v' (remove on: release above to use this)
|
|
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
|
|
steps:
|
|
- uses: robinraju/release-downloader@daf26c55d821e836577a15f77d86ddc078948b05 # v1
|
|
with:
|
|
tag: ${{ github.event.release.tag_name }}
|
|
fileName: '*'
|
|
out-file-path: 'dist'
|
|
- uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # release/v1
|