Commit 1bbfe9b 1 parent cedd98e commit 1bbfe9b Copy full SHA for 1bbfe9b
File tree 1 file changed +21
-21
lines changed
1 file changed +21
-21
lines changed Original file line number Diff line number Diff line change 1
1
name : Publish
2
2
on :
3
+ workflow_dispatch :
3
4
release :
4
5
types : [published]
5
6
@@ -21,24 +22,23 @@ jobs:
21
22
with :
22
23
name : python-package-distributions
23
24
path : dist/
24
-
25
- publish-to-pypi :
26
- name : Publish to PyPI
27
- needs :
28
- - build
29
- runs-on : ubuntu-latest
30
- environment :
31
- name : pypi
32
- url : https://pypi.org/p/dacite
33
- permissions :
34
- id-token : write # IMPORTANT: mandatory for trusted publishing
35
- steps :
36
- - name : Download dist
37
- uses : actions/download-artifact@v4
38
- with :
39
- name : python-package-distributions
40
- path : dist/
41
- - name : Publish package to PyPI
42
- uses : pypa/gh-action-pypi-publish@release/v1
43
- with :
44
- password : ${{ secrets.PYPI_API_TOKEN }}
25
+ publish :
26
+ name : Publish to PyPI
27
+ needs :
28
+ - build
29
+ runs-on : ubuntu-latest
30
+ environment :
31
+ name : pypi
32
+ url : https://pypi.org/p/dacite
33
+ permissions :
34
+ id-token : write # IMPORTANT: mandatory for trusted publishing
35
+ steps :
36
+ - name : Download dist
37
+ uses : actions/download-artifact@v4
38
+ with :
39
+ name : python-package-distributions
40
+ path : dist/
41
+ - name : Publish package to PyPI
42
+ uses : pypa/gh-action-pypi-publish@release/v1
43
+ with :
44
+ password : ${{ secrets.PYPI_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments