Skip to content

Merge pull request #286 from PabloLec/dependabot/pip/textual-0.37.1 #179

Merge pull request #286 from PabloLec/dependabot/pip/textual-0.37.1

Merge pull request #286 from PabloLec/dependabot/pip/textual-0.37.1 #179

name: Test release upload
on:
workflow_dispatch:
push:
branches:
- main
jobs:
test_pypi_release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "${HOME}/.poetry/bin" >> $GITHUB_PATH
- name: Install dependencies
run: |
poetry install
- name: Setup and Publish to Test PyPi
run: |
poetry config repositories.testpypi https://test.pypi.org/legacy/
poetry config pypi-token.testpypi ${{ secrets.TEST_PYPI_TOKEN }}
poetry publish --build --repository testpypi --dry-run