Commit 782eece 1 parent 4e0b546 commit 782eece Copy full SHA for 782eece
File tree 1 file changed +17
-12
lines changed
1 file changed +17
-12
lines changed Original file line number Diff line number Diff line change @@ -37,17 +37,22 @@ jobs:
37
37
name : Publish release
38
38
needs : [build]
39
39
runs-on : ubuntu-latest
40
+ environment :
41
+ name : pypi
42
+ url : https://pypi.org/p/hatch-frozen
43
+ permissions :
44
+ id-token : write # Mandatory for PyPI trusted publishing
40
45
41
46
steps :
42
- - name : Unstash dist artifacts
43
- uses : actions/download-artifact@v4
44
- with :
45
- name : artifacts
46
- path : dist
47
-
48
- - name : Push build artifacts to PyPI
49
- uses : pypa/gh-action-pypi-publish@v1.12.4
50
- with :
51
- skip_existing : true
52
- user : __token__
53
- password : ${{ secrets.PYPI_TOKEN }}
47
+ - name : Unstash dist artifacts
48
+ uses : actions/download-artifact@v4
49
+ with :
50
+ name : artifacts
51
+ path : dist
52
+
53
+ - name : Publish package distributions to PyPI
54
+ uses : pypa/gh-action-pypi-publish@release/v1
55
+ with :
56
+ skip_existing : true
57
+ # user: __token__
58
+ # password: ${{ secrets.PYPI_TOKEN }}
You can’t perform that action at this time.
0 commit comments