Skip to content

Commit c42e1cd

Browse files
authored
ref name not action ref
1 parent 4d4d54a commit c42e1cd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/python-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
python -m pip install --upgrade pip!=22.1.*
2424
pip install flit
2525
- name: Build and publish yaqd-core
26-
if: startsWith( github.action_ref, 'yaqd-core-')
26+
if: startsWith( github.ref_name, 'yaqd-core-')
2727
env:
2828
FLIT_PASSWORD: ${{ secrets.PYPI_PASSWORD_YAQD_CORE }}
2929
run: |
@@ -32,7 +32,7 @@ jobs:
3232
flit publish
3333
3434
- name: Build and publish yaqc
35-
if: startsWith( github.action_ref, 'yaqc-')
35+
if: startsWith( github.ref_name, 'yaqc-')
3636
env:
3737
FLIT_PASSWORD: ${{ secrets.PYPI_PASSWORD_YAQC }}
3838
run: |
@@ -41,7 +41,7 @@ jobs:
4141
flit publish
4242
4343
- name: Build and publish yaqd-core
44-
if: startsWith( github.action_ref, 'yaqd-fakes-')
44+
if: startsWith( github.ref_name, 'yaqd-fakes-')
4545
env:
4646
FLIT_PASSWORD: ${{ secrets.PYPI_PASSWORD_YAQD_FAKES }}
4747
run: |

0 commit comments

Comments
 (0)