Skip to content

Commit 8540408

Browse files
committed
Merge branch 'main' of https://github.com/h5rdly/webtoken
2 parents 831e4ad + 30be944 commit 8540408

1 file changed

Lines changed: 10 additions & 15 deletions

File tree

.github/workflows/release.yml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,45 +16,40 @@ jobs:
1616
strategy:
1717
matrix:
1818
include:
19-
# Linux x86 (Standard)
2019
- name: Linux x86
2120
os: ubuntu-latest
2221
target: x86_64
2322
manylinux: auto
2423
qemu: false
2524

26-
# Linux Musl (Alpine)
2725
- name: Musl x86
2826
os: ubuntu-latest
2927
target: x86_64
3028
manylinux: musllinux_1_2
3129
qemu: false
3230

33-
# Linux ARM64
3431
- name: Linux ARM64
3532
os: ubuntu-latest
3633
target: aarch64
3734
manylinux: auto
3835
qemu: true
3936

40-
# MacOS x86 + ARM
4137
- name: MacOS
4238
os: macos-latest
4339
target: x86_64
44-
manylinux: auto # Field ignored by maturin for Mac
40+
manylinux: auto
4541
qemu: false
4642

47-
# Windows
4843
- name: Windows
4944
os: windows-latest
5045
target: x64
51-
manylinux: auto # Field ignored by maturin for Windows
46+
manylinux: auto
5247
qemu: false
5348

5449
steps:
5550
- uses: actions/checkout@v6
5651

57-
- name: Set up QEMU # for ARM64 builds on Linux
52+
- name: Set up QEMU
5853
if: matrix.qemu
5954
uses: docker/setup-qemu-action@v3
6055

@@ -92,17 +87,17 @@ jobs:
9287
name: PyPI
9388
needs: [build_wheels, build_sdist]
9489
runs-on: ubuntu-latest
90+
environment: pypi
91+
permissions:
92+
contents: read
93+
id-token: write
94+
9595
steps:
96-
- uses: actions/download-artifact@v6
96+
- uses: actions/download-artifact@v7
9797
with:
9898
pattern: wheels-*
9999
path: dist
100100
merge-multiple: true
101101

102-
- name: Install uv
103-
uses: astral-sh/setup-uv@v7
104-
105102
- name: Publish to PyPI
106-
run: uv publish dist/*
107-
env:
108-
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
103+
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)