mirror of
https://github.com/glomatico/gamdl.git
synced 2026-08-03 13:27:13 +03:00
Simplify Python package publishing workflow
This commit is contained in:
@@ -93,33 +93,11 @@ jobs:
|
||||
name: dist-${{ matrix.name }}
|
||||
path: dist/
|
||||
|
||||
test-python-314-wheel:
|
||||
name: Test wheel on Python 3.14
|
||||
runs-on: ubuntu-latest
|
||||
needs: build-wheels
|
||||
|
||||
steps:
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.14"
|
||||
|
||||
- name: Retrieve Linux wheel
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: dist-linux-x86_64
|
||||
path: dist/
|
||||
|
||||
- name: Install and import native extension
|
||||
run: |
|
||||
python -m pip install dist/*.whl
|
||||
python -c "from gamdl import _ammuxer; assert _ammuxer.native_available()"
|
||||
|
||||
pypi-publish:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- build-sdist
|
||||
- build-wheels
|
||||
- test-python-314-wheel
|
||||
permissions:
|
||||
# IMPORTANT: this permission is mandatory for trusted publishing
|
||||
id-token: write
|
||||
|
||||
Reference in New Issue
Block a user