Skip to content

Commit

Permalink
ci: Fix wheels job (#911)
Browse files Browse the repository at this point in the history
The `format` template expression needs an index inside the `{}`
placeholder.

See error:
https://github.com/CQCL/hugr/actions/runs/8539664657/job/23394814844#step:9:1
  • Loading branch information
aborgna-q authored Apr 3, 2024
1 parent 622f0e2 commit 142ca5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/python-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
poetry publish -r test-pypi --dist-dir ../dist --skip-existing --dry-run
- name: Publish to PyPI
if: ${{ github.event_name == 'push' && github.ref_type == 'tag' && startsWith(github.ref, format('refs/tags/{}-v', matrix.package)) }}
if: ${{ github.event_name == 'push' && github.ref_type == 'tag' && startsWith(github.ref, format('refs/tags/{0}-v', matrix.package)) }}
run: |
cd ${{ matrix.package }}
poetry config repositories.test-pypi https://test.pypi.org/legacy/
Expand Down

0 comments on commit 142ca5e

Please sign in to comment.