Skip to content

fix PyPI badge

fix PyPI badge #14

Workflow file for this run

name: Upload Python Package
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout [${{ github.repository }}]
uses: actions/checkout@v4
- uses: cvxgrp/.github/actions/uv/[email protected]
deploy:
runs-on: ubuntu-latest
needs: build
environment: release
permissions:
# This permission is required for trusted publishing.
id-token: write
steps:
- name: Checkout [${{ github.repository }}]
uses: actions/checkout@v4
# download dist from build
- uses: actions/download-artifact@v4
with:
name: dist
path: dist
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://upload.pypi.org/legacy/