We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb96e54 commit 2af7d58Copy full SHA for 2af7d58
.github/workflows/publish.yml
.github/workflows/release-please.yml
@@ -24,10 +24,15 @@ jobs:
24
target-branch: main
25
26
build:
27
- name: upload wheel
+ name: upload wheel & publish to pypi
28
runs-on: ubuntu-latest
29
needs: release-please
30
if: ${{ needs.release-please.outputs.releases_created == 'true' && needs.release-please.outputs.tag_name != '' }}
31
+
32
+ environment: pypi
33
+ permissions:
34
+ id-token: write
35
36
strategy:
37
fail-fast: false
38
matrix:
@@ -58,3 +63,8 @@ jobs:
58
63
file: dist/memu_*.whl
59
64
tag: ${{ needs.release-please.outputs.tag_name }}
60
65
file_glob: true
66
67
+ - name: Publish to PyPI
68
+ uses: pypa/gh-action-pypi-publish@release/v1
69
+ with:
70
+ packages-dir: dist/
0 commit comments