v0.2.1: New dataset loaders and srsly 3.0 support #1
Workflow file for this run
This file contains hidden or 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
| # The cibuildwheel action triggers on all pushes and PRs; | |
| # this action triggers on release 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 | |
| jobs: | |
| upload_pypi: | |
| runs-on: ubuntu-latest | |
| environment: | |
| name: pypi | |
| url: https://pypi.org/p/ml-datasets | |
| permissions: | |
| id-token: write | |
| contents: read | |
| if: github.event_name == 'release' && github.event.action == 'published' | |
| steps: | |
| - uses: robinraju/release-downloader@v1 | |
| with: | |
| tag: ${{ github.event.release.tag_name }} | |
| fileName: '*' | |
| out-file-path: 'dist' | |
| - uses: pypa/gh-action-pypi-publish@release/v1 |