Skip to content

Publish wheels to testpypi #4

Publish wheels to testpypi

Publish wheels to testpypi #4

Workflow file for this run

name: Publish wheels to testpypi
on:
workflow_dispatch:
imputs:
workflow_id:
description: "The workflow ID to pull wheels from"
required: true
default: "0"
type: string
jobs:
publish_test:
name: Publish Python 🐍 distribution 📦 to TestPyPI
runs-on: ubuntu-latest
environment:
name: testpypi
url: https://test.pypi.org/p/charm4py
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
steps:
- name: Download all the dists
uses: actions/download-artifact@v4
with:
pattern: cibw-* # download all the wheels
path: dist
merge-multiple: true
- name: Check status
run: ls -l dist
# - name: Publish distribution 📦 to TestPyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# repository-url: https://test.pypi.org/legacy/