File tree Expand file tree Collapse file tree 1 file changed +25
-13
lines changed Expand file tree Collapse file tree 1 file changed +25
-13
lines changed Original file line number Diff line number Diff line change @@ -109,27 +109,39 @@ jobs:
109
109
path : |
110
110
./wheelhouse/*.whl
111
111
./wheelhouse/*.tar.gz
112
- name : wheels -basemap-${{ matrix.os }}
112
+ name : dist -basemap-${{ matrix.os }}
113
113
114
- upload_pypi :
114
+ check :
115
+ name : Check basemap packages
115
116
needs : [build_data, build_basemap]
116
117
runs-on : ubuntu-latest
118
+ steps :
119
+ - uses : actions/download-artifact@v4
120
+ with :
121
+ path : dist
122
+ pattern : " dist-*"
123
+ merge-multiple : true
124
+
125
+ - name : Set up Python
126
+ uses : actions/setup-python@v4
127
+ with :
128
+ python-version : " 3.9"
129
+
130
+ - name : Check packages with twine
131
+ run : |
132
+ python -m pip install twine
133
+ python -m twine check dist/*
134
+
135
+ upload :
136
+ name : Upload basemap packages
137
+ needs : [build_data, build_basemap, check]
138
+ runs-on : ubuntu-latest
117
139
if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
118
- strategy :
119
- matrix :
120
- package : [basemap, basemap_data, basemap_data_hires]
121
- include :
122
- - package : basemap
123
- artifact_pattern : " wheels-basemap-*"
124
- - package : basemap_data
125
- artifact_pattern : " dist-basemap_data"
126
- - package : basemap_data_hires
127
- artifact_pattern : " dist-basemap_data_hires"
128
140
steps :
129
141
- uses : actions/download-artifact@v4
130
142
with :
131
- pattern : ${{ matrix.artifact_pattern }}
132
143
path : dist
144
+ pattern : " dist-*"
133
145
merge-multiple : true
134
146
135
147
- name : Publish to PyPI
You can’t perform that action at this time.
0 commit comments