We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4070e2 commit 3121f99Copy full SHA for 3121f99
.github/workflows/cd.yml
@@ -8,5 +8,20 @@ jobs:
8
python-packaging:
9
name: 🐍 Packaging
10
uses: cda-tum/mqt-core/.github/workflows/reusable-python-packaging.yml@main
11
- with:
12
- package-name: mqt.ddsim
+
+ 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