File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 94
94
- name : Check out code
95
95
uses : actions/checkout@v3
96
96
97
+ - name : Set up Python
98
+ uses : actions/setup-python@v4
99
+ with :
100
+ python-version : ' 3.x'
101
+
102
+ - name : Install dependencies
103
+ run : |
104
+ python -m pip install --upgrade pip
105
+ pip install --upgrade build setuptools wheel
106
+
107
+ - name : Build Python package
108
+ run : python -m build
109
+
97
110
- name : Publish to TestPyPI
98
111
uses : pypa/gh-action-pypi-publish@v1.8.10
99
112
with :
@@ -119,6 +132,19 @@ jobs:
119
132
- name : Check out code
120
133
uses : actions/checkout@v3
121
134
135
+ - name : Set up Python
136
+ uses : actions/setup-python@v4
137
+ with :
138
+ python-version : ' 3.x'
139
+
140
+ - name : Install dependencies
141
+ run : |
142
+ python -m pip install --upgrade pip
143
+ pip install --upgrade build setuptools wheel
144
+
145
+ - name : Build Python package
146
+ run : python -m build
147
+
122
148
- name : Publish to PyPI
123
149
uses : pypa/gh-action-pypi-publish@v1.8.10
124
150
with :
You can’t perform that action at this time.
0 commit comments