Fix CI build #3
Workflow file for this run
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: Release Test package | ||
on: | ||
workflow_dispatch: {} | ||
jobs: | ||
release: | ||
name: Release package | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out the repo | ||
uses: actions/checkout@v3 | ||
- name: 'Setup: Python 3.11' | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.11' | ||
cache: 'pip' | ||
- name: Setup submodules | ||
run: | | ||
git submodule init | ||
git submodule update | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install poetry | ||
poetry install | ||
- name: Build package | ||
run: | | ||
poetry build | ||
- name: Publish package to TestPyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
packages-dir: dist | ||
password: ${{ secrets.PYPI_TEST_API_TOKEN }} | ||
repository-url: https://test.pypi.org/legacy/ |