Skip to content

Commit c2ff859

Browse files
authored
Fix github reference for publishing action (#1159)
1 parent fb3cd65 commit c2ff859

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
repository_url: https://test.pypi.org/legacy/
3535

3636
- name: Publish distribution 📦 to PyPI
37-
if: ${GITHUB_REF} == 'refs/heads/master'
37+
if: ${{ github.ref == 'refs/heads/master' }}
3838
uses: pypa/gh-action-pypi-publish@release/v1 # license BSD-2
3939
with:
4040
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)