Skip to content

Commit c9744a6

Browse files
committed
♻️ move publishing out of reusable workflow
1 parent 26dd3aa commit c9744a6

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/cd.yml

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

0 commit comments

Comments
 (0)