Skip to content

Commit fddd438

Browse files
committed
fix publish workflow
1 parent fb3f0c9 commit fddd438

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: CI
22

3-
on: [push, pull_request, workflow_dispatch]
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
workflow_call:
48

59
jobs:
610
build:

.github/workflows/python-publish.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,14 @@ jobs:
88
create_wheel_and_sdist:
99
name: create_wheel_and_sdist
1010
uses: ./.github/workflows/main.yml
11-
with:
12-
attest-package: "true"
1311

1412
deploy:
15-
depends-on: create_wheel_and_sdist
13+
needs: [ create_wheel_and_sdist ]
1614
runs-on: ubuntu-latest
1715

1816
environment: pypi
1917
permissions:
20-
id-token: write. # IMPORTANT: this permission is mandatory for Trusted Publishing
18+
id-token: write # IMPORTANT: this permission is mandatory for Trusted Publishing
2119

2220
steps:
2321
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)