We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f33b3b commit f1dce87Copy full SHA for f1dce87
.github/workflows/publish_to_pypi.yaml
@@ -27,10 +27,10 @@ jobs:
27
name: packages
28
path: dist/*
29
30
- publish:
+ publish_pypi:
31
needs: [build-dists]
32
runs-on: ubuntu-latest
33
- environment: publish-testpypi
+ environment: publish
34
permissions:
35
id-token: write
36
@@ -42,3 +42,19 @@ jobs:
42
43
- name: Publish to PyPI
44
uses: pypa/gh-action-pypi-publish@release/v1
45
+
46
+ publish_release_asset:
47
+ needs: [build-dists]
48
+ runs-on: ubuntu-latest
49
50
+ steps:
51
+ - uses: actions/download-artifact@v3
52
+ with:
53
+ name: packages
54
+ path: dist
55
56
+ - name: Publish to GitHub Release
57
+ env:
58
+ GH_TOKEN: ${{ github.token }}
59
+ GH_REPO: ${{ github.repository }}
60
+ run: gh release upload "${{ github.release }}" dist/*.tgz
0 commit comments