Skip to content

Commit

Permalink
ref name not action ref
Browse files Browse the repository at this point in the history
  • Loading branch information
ksunden authored May 19, 2022
1 parent 4d4d54a commit c42e1cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
python -m pip install --upgrade pip!=22.1.*
pip install flit
- name: Build and publish yaqd-core
if: startsWith( github.action_ref, 'yaqd-core-')
if: startsWith( github.ref_name, 'yaqd-core-')
env:
FLIT_PASSWORD: ${{ secrets.PYPI_PASSWORD_YAQD_CORE }}
run: |
Expand All @@ -32,7 +32,7 @@ jobs:
flit publish
- name: Build and publish yaqc
if: startsWith( github.action_ref, 'yaqc-')
if: startsWith( github.ref_name, 'yaqc-')
env:
FLIT_PASSWORD: ${{ secrets.PYPI_PASSWORD_YAQC }}
run: |
Expand All @@ -41,7 +41,7 @@ jobs:
flit publish
- name: Build and publish yaqd-core
if: startsWith( github.action_ref, 'yaqd-fakes-')
if: startsWith( github.ref_name, 'yaqd-fakes-')
env:
FLIT_PASSWORD: ${{ secrets.PYPI_PASSWORD_YAQD_FAKES }}
run: |
Expand Down

0 comments on commit c42e1cd

Please sign in to comment.