Skip to content

Commit

Permalink
what is the github ref
Browse files Browse the repository at this point in the history
  • Loading branch information
ZihengSun committed Sep 6, 2024
1 parent 19974fa commit 665be9d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ jobs:
--sdist
--wheel
--outdir dist/
- name: Check GitHub ref
run: echo ${{ github.ref }}

- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down

0 comments on commit 665be9d

Please sign in to comment.