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 7949f04 commit 5de34a9Copy full SHA for 5de34a9
.github/workflows/pypi-upload-template.yml
.github/workflows/wheels-nightly.yml
@@ -32,8 +32,19 @@ jobs:
32
pattern: wheels-*
33
34
pypi-publish:
35
- name: Upload wheel to PyPI
36
- uses: ./.github/workflows/pypi-upload-template.yml
+ name: Upload wheels to PyPI
37
needs: merge
38
- with:
39
- project_name: 'neuron-nightly'
+ runs-on: ubuntu-latest
+ environment:
+ name: pypi
40
+ url: https://pypi.org/p/neuron-nightly
41
+ permissions:
42
+ id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
43
+ steps:
44
+ - name: Download wheels from artifact
45
+ uses: actions/download-artifact@v4
46
+ with:
47
+ name: wheels
48
+ path: dist/
49
+ - name: Publish package distributions to PyPI
50
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments