fix publish workflow

This commit is contained in:
timrid 2025-10-27 20:05:12 +01:00
parent fb3f0c926f
commit fddd438ac8
2 changed files with 7 additions and 5 deletions

View file

@ -1,6 +1,10 @@
name: CI
on: [push, pull_request, workflow_dispatch]
on:
push:
pull_request:
workflow_dispatch:
workflow_call:
jobs:
build:

View file

@ -8,16 +8,14 @@ jobs:
create_wheel_and_sdist:
name: create_wheel_and_sdist
uses: ./.github/workflows/main.yml
with:
attest-package: "true"
deploy:
depends-on: create_wheel_and_sdist
needs: [ create_wheel_and_sdist ]
runs-on: ubuntu-latest
environment: pypi
permissions:
id-token: write. # IMPORTANT: this permission is mandatory for Trusted Publishing
id-token: write # IMPORTANT: this permission is mandatory for Trusted Publishing
steps:
- uses: actions/checkout@v3