File tree 1 file changed +14
-1
lines changed
1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -132,6 +132,10 @@ jobs:
132
132
- name : Build wheel
133
133
run : python setup.py bdist_wheel
134
134
135
+ - name : Build source archive
136
+ if : matrix.config.name == 'darwin' && matrix.python.name == 'cp39'
137
+ run : python setup.py sdist
138
+
135
139
- name : Install wheel
136
140
shell : bash
137
141
run : python -m pip install dist/*.whl --user
@@ -145,6 +149,13 @@ jobs:
145
149
name : gridpy-wheel-${{ matrix.config.name }}-${{ matrix.python.name }}
146
150
path : dist/*.whl
147
151
152
+ - name : Upload source archive
153
+ uses : actions/upload-artifact@v2
154
+ if : matrix.config.name == 'darwin' && matrix.python.name == 'cp39'
155
+ with :
156
+ name : gridpy-sources
157
+ path : dist/*.tar.gz
158
+
148
159
package :
149
160
name : Package wheels
150
161
runs-on : ubuntu-latest
@@ -160,4 +171,6 @@ jobs:
160
171
uses : actions/upload-artifact@v2
161
172
with :
162
173
name : gridpy-wheels
163
- path : download/**/*.whl
174
+ path : |
175
+ download/**/*.whl
176
+ download/**/*.tar.gz
You can’t perform that action at this time.
0 commit comments