Skip to content

Commit

Permalink
change the triggering to actually work x4
Browse files Browse the repository at this point in the history
  • Loading branch information
Drew F committed Nov 22, 2022
1 parent f73d47b commit ddc027e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ jobs:
- name: Install pypa/build
run: python -m pip install build --user
- name: Build a binary wheel and a source tarball
run: python -m build --sdist --wheel --outdir dist/
run: |
echo $GITHUB_REF_NAME
python -m build --sdist --wheel --outdir dist/
- name: Publish distribution to PyPI
if: ${{ github.ref == 'refs/heads/main' }}
if: {{ $GITHUB_REF_NAME }} == 'main'
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
EMAIL = "computer-vision@unity3d.com"
AUTHOR = "Unity Technologies"
REQUIRES_PYTHON = ">=3.8"
VERSION = "0.3.25"
VERSION = "0.3.23"


here = os.path.abspath(os.path.dirname(__file__))
Expand Down

0 comments on commit ddc027e

Please sign in to comment.