Skip to content

Commit

Permalink
Update build-publish-pypi.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tschoonj authored Aug 20, 2024
1 parent f5245cc commit 94e236a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches:
- master
tags:
- v*
- xraylib*

jobs:
build_wheels:
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
url: https://pypi.org/p/xraylib
permissions:
id-token: write
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/xraylib')
steps:
- uses: actions/download-artifact@v4
with:
Expand All @@ -93,4 +93,4 @@ jobs:
merge-multiple: true
- name: Publish distribution 📦 to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1


0 comments on commit 94e236a

Please sign in to comment.