Skip to content

Commit 9986819

Browse files
committed
Finalise 2
1 parent be38005 commit 9986819

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

.github/workflows/publish-pypi-deploy.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ jobs:
1111
build:
1212
name: Build the package
1313
runs-on: ubuntu-latest
14+
environment:
15+
name: pypi
16+
url: https://pypi.org/project/types-pydicom/
17+
permissions:
18+
id-token: write
1419

1520
steps:
1621
- uses: actions/checkout@v4
@@ -33,21 +38,5 @@ jobs:
3338
name: wheels
3439
path: dist/
3540

36-
name: Upload release to PyPI
37-
needs: [ build ]
38-
runs-on: ubuntu-latest
39-
environment:
40-
name: pypi
41-
url: https://pypi.org/project/types-pydicom/
42-
permissions:
43-
id-token: write
44-
45-
steps:
46-
- name: Download the package files
47-
uses: actions/download-artifact@v4
48-
with:
49-
path: dist/
50-
merge-multiple: true
51-
5241
- name: Publish package to PyPi
5342
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)