Skip to content

Commit

Permalink
Update python-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
emilhe authored Oct 7, 2023
1 parent bb252af commit b8d365d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand All @@ -31,8 +32,10 @@ jobs:
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
npm install | echo "Ignore npm install error"
npm run build
npm publish
python setup.py sdist bdist_wheel
twine upload dist/*

0 comments on commit b8d365d

Please sign in to comment.