Fix usbdev error, add improved programming step #11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Pub Python dist to TestPyPi | |
| on: push | |
| jobs: | |
| build-n-publish: | |
| name: Build/pub python to testpypi | |
| runs-on: ubuntu-18.04 | |
| steps: | |
| - uses: actions/checkout@master | |
| - name: Setup Python 3.7 | |
| uses: actions/setup-python@v1 | |
| with: | |
| python-version: 3.7 | |
| - name: Build ChipWhisperer | |
| run: >- | |
| python setup.py sdist | |
| - name: Publish to pypi | |
| if: startsWith(github.ref, 'refs/tags') | |
| uses: pypa/gh-action-pypi-publish@master | |
| with: | |
| password: ${{ secrets.py_pi_deploy }} |