File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 19
19
submodules : " recursive"
20
20
21
21
- name : Set up Python 3.11
22
- uses : actions/setup-python@v3
22
+ uses : actions/setup-python@v4
23
23
with :
24
24
python-version : 3.11
25
25
@@ -104,7 +104,7 @@ jobs:
104
104
submodules : " recursive"
105
105
106
106
- name : Set up Python 3.11
107
- uses : actions/setup-python@v3
107
+ uses : actions/setup-python@v4
108
108
with :
109
109
python-version : 3.11
110
110
@@ -140,7 +140,7 @@ jobs:
140
140
id-token : write
141
141
steps :
142
142
- name : Download all artifacts
143
- uses : actions/download-artifact@v3
143
+ uses : actions/download-artifact@v4
144
144
with :
145
145
path : dist
146
146
Original file line number Diff line number Diff line change @@ -50,12 +50,17 @@ jobs:
50
50
path : dist/*.tar.gz
51
51
52
52
upload :
53
- name : Checkout Artifacts
53
+ name : Upload to PyPI
54
54
needs : [make-wheels, make-sdist]
55
55
runs-on : ubuntu-latest
56
+ environment :
57
+ name : pypi
58
+ url : https://test.pypi.org/legacy/
59
+ permissions :
60
+ id-token : write
56
61
steps :
57
62
- name : Download all artifacts
58
- uses : actions/download-artifact@v3
63
+ uses : actions/download-artifact@v4
59
64
with :
60
65
path : dist
61
66
71
76
cd ..
72
77
echo "* Prepared artifacts:"
73
78
ls dist/
79
+
80
+ - name : Publish package distributions to PyPI
81
+ uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments