Skip to content

Merge pull request #156 from analogdevicesinc/tfcollins/remove-poetry #136

Merge pull request #156 from analogdevicesinc/tfcollins/remove-poetry

Merge pull request #156 from analogdevicesinc/tfcollins/remove-poetry #136

Workflow file for this run

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/