Skip to content

Commit

Permalink
ci: Fix wheels job
Browse files Browse the repository at this point in the history
The `format` template expression needs an index inside the `{}` placeholder.
  • Loading branch information
aborgna-q authored Apr 3, 2024
1 parent 622f0e2 commit d6b4e52
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 d6b4e52

Please sign in to comment.