Run update_private when updating firmware #9
This file contains 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-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Setup Python 3.10 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.10.15 | |
- name: Build ChipWhisperer | |
run: | | |
python -m pip install build | |
python -m build | |
- name: Publish to pypi | |
if: startsWith(github.ref, 'refs/tags') | |
uses: pypa/gh-action-pypi-publish@master | |
with: | |
password: ${{ secrets.py_pi_deploy }} |