Skip to content

mov e to token

mov e to token #6

Workflow file for this run

name: Build and Publish to Test PyPI
on: push
jobs:
build-and-release:
runs-on: ubuntu-latest
permissions:
id-token: write
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Build release distributions
run: |
python -m pip install --upgrade pip build
python -m build
- name: Publish package distribution to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}