File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 73
73
- pre-commit
74
74
- test-unit
75
75
runs-on : ubuntu-latest
76
+ environment :
77
+ name : testpypi
78
+ url : https://test.pypi.org/p/OctoPrint-PiSupport
79
+ permissions :
80
+ id-token : write
76
81
steps :
77
82
- name : ⬇ Download build result
78
83
uses : actions/download-artifact@v3
@@ -82,13 +87,18 @@ jobs:
82
87
- name : 📦 Publish to index
83
88
uses : pypa/gh-action-pypi-publish@release/v1
84
89
with :
85
- repository_url : https://test.pypi.org/legacy/
90
+ repository-url : https://test.pypi.org/legacy/
86
91
87
92
publish-on-pypi :
88
93
name : 📦 Publish tagged releases to PyPI
89
94
if : github.event_name == 'release'
90
95
needs : publish-on-testpypi
91
96
runs-on : ubuntu-latest
97
+ environment :
98
+ name : pypi
99
+ url : https://test.pypi.org/p/OctoPrint-PiSupport
100
+ permissions :
101
+ id-token : write
92
102
steps :
93
103
- name : ⬇ Download build result
94
104
uses : actions/download-artifact@v3
You can’t perform that action at this time.
0 commit comments