Merge pull request #157 from analogdevicesinc/tfcollins/fpga-update #137
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: TestPyPI | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
test_pypi: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v1 | |
with: | |
python-version: '3.8' | |
architecture: x64 | |
- run: pip install poetry==1.2.2 | |
- run: >- | |
poetry version patch && | |
version=$(poetry version | awk '{print $2}') && | |
poetry version $version.dev.$(date +%s) | |
- run: poetry build | |
- uses: pypa/[email protected] | |
with: | |
user: __token__ | |
password: ${{ secrets.TEST_PYPI_TOKEN }} | |
repository_url: https://test.pypi.org/legacy/ |