Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions .github/actions/release-pypi/action.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
name: "Release PyPI"
description: "Release PyPI"
inputs:
pypi-token:
required: true
description: "PyPI token"
runs:
using: "composite"
steps:
- name: Release PyPI
shell: bash
run: |
export UV_PUBLISH_PASSWORD="${{ inputs.pypi-token }}"
export UV_PUBLISH_USERNAME="__token__"
uv publish --publish-url https://upload.pypi.org/legacy/
uv publish --publish-url https://upload.pypi.org/legacy/ --trusted-publishing always
19 changes: 7 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,12 @@ jobs:
fail-fast: false
matrix:
os: [
ubuntu-latest,
ubuntu-22.04-arm, # https://github.com/actions/partner-runner-images/issues/37 https://github.com/orgs/community/discussions/148648#discussioncomment-12099554
macos-latest,
macos-14-large
]
python: [
12,
13,
]
ubuntu-latest,
ubuntu-22.04-arm, # https://github.com/actions/partner-runner-images/issues/37 https://github.com/orgs/community/discussions/148648#discussioncomment-12099554
macos-latest,
macos-14-large,
]
python: [12, 13]

steps:
- name: Github context
Expand All @@ -61,7 +58,7 @@ jobs:
enable-cache: false
prune-cache: false
python-version: 3.${{ matrix.python }}
version: '0.5.24'
version: "0.5.24"
cache-suffix: 3.${{ matrix.python }}

- name: Fetch tags
Expand Down Expand Up @@ -103,8 +100,6 @@ jobs:

- name: Release PyPI
uses: ./.github/actions/release-pypi
with:
pypi-token: ${{ secrets.PYPI_TOKEN }}

- name: Github release
id: github-release
Expand Down