Skip to content

Python package to testpypi #3

Python package to testpypi

Python package to testpypi #3

name: Python package to testpypi
on:
push:
tags:
- "v*.*.*-*"
workflow_dispatch:
inputs:
tag:
description: "Tag to publish"
required: true
default: "v*.*.*-*"
jobs:
publish_testpypi:
runs-on: ubuntu-latest
# environment: release
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v3
- name: Build and publish to pypi
uses: JRubics/poetry-publish@v1.16
with:
repository_name: "testpypi"
repository_url: "https://test.pypi.org/legacy/"