Skip to content

Commit 3121f99

Browse files
committed
♻️ move publishing out of reusable workflow
Signed-off-by: burgholzer <[email protected]>
1 parent b4070e2 commit 3121f99

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

.github/workflows/cd.yml

+17-2
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,20 @@ jobs:
88
python-packaging:
99
name: 🐍 Packaging
1010
uses: cda-tum/mqt-core/.github/workflows/reusable-python-packaging.yml@main
11-
with:
12-
package-name: mqt.ddsim
11+
12+
deploy:
13+
if: github.event_name == 'release' && github.event.action == 'published'
14+
name: 🚀 Deploy to PyPI
15+
runs-on: ubuntu-latest
16+
environment:
17+
name: pypi
18+
url: https://pypi.org/p/mqt.ddsim
19+
permissions:
20+
id-token: write
21+
needs: [python-packaging]
22+
steps:
23+
- uses: actions/download-artifact@v3
24+
with:
25+
name: artifact
26+
path: dist
27+
- uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)