feat: using @cache to speed up #5338
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
# A single CI script with github workflow | |
name: Build wheels and deploy | |
on: | |
workflow_dispatch: | |
push: | |
merge_group: | |
release: | |
types: | |
- published | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
python-version: [ 3.9, '3.10', '3.11'] | |
uses: qiboteam/workflows/.github/workflows/deploy-pip-poetry.yml@main | |
with: | |
os: ${{ matrix.os }} | |
python-version: ${{ matrix.python-version }} | |
publish: ${{ github.event_name == 'release' && github.event.action == 'published' && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10' }} | |
poetry-extras: "--with tests,docs" | |
secrets: inherit |