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 52
52
- build
53
53
- pre-commit
54
54
runs-on : ubuntu-latest
55
+ environment :
56
+ name : testpypi
57
+ url : https://test.pypi.org/p/OctoPrint-FirmwareCheck
58
+ permissions :
59
+ id-token : write
55
60
steps :
56
61
- name : ⬇ Download build result
57
62
uses : actions/download-artifact@v3
@@ -61,13 +66,18 @@ jobs:
61
66
- name : 📦 Publish to index
62
67
uses : pypa/gh-action-pypi-publish@release/v1
63
68
with :
64
- repository_url : https://test.pypi.org/legacy/
69
+ repository-url : https://test.pypi.org/legacy/
65
70
66
71
publish-on-pypi :
67
72
name : 📦 Publish tagged releases to PyPI
68
73
if : github.event_name == 'release'
69
74
needs : publish-on-testpypi
70
75
runs-on : ubuntu-latest
76
+ environment :
77
+ name : pypi
78
+ url : https://pypi.org/p/OctoPrint-FirmwareCheck
79
+ permissions :
80
+ id-token : write
71
81
steps :
72
82
- name : ⬇ Download build result
73
83
uses : actions/download-artifact@v3
You can’t perform that action at this time.
0 commit comments