File tree 2 files changed +16
-24
lines changed
2 files changed +16
-24
lines changed Original file line number Diff line number Diff line change 10
10
pull_request :
11
11
branches :
12
12
- main
13
- release :
14
- types : [ created ]
15
13
16
14
17
15
jobs :
98
96
build_sdist :
99
97
name : Build sdist
100
98
runs-on : ubuntu-latest
101
- # Only build wheels when tagging (typically a release)
102
- if : startsWith(github.event.ref, 'refs/tags')
103
99
strategy :
104
100
matrix :
105
101
os : [ubuntu-latest]
@@ -145,3 +141,19 @@ jobs:
145
141
run : |
146
142
cd ./dist/blosc2-*/
147
143
python -m pytest -m "not heavy"
144
+
145
+ upload_pypi :
146
+ needs : [ build_wheels, build_sdist ] # last but not least
147
+ runs-on : ubuntu-latest
148
+ # Only upload wheels when tagging (typically a release)
149
+ if : startsWith(github.event.ref, 'refs/tags')
150
+ steps :
151
+ - uses : actions/download-artifact@v3
152
+ with :
153
+ name : artifact
154
+ path : dist
155
+
156
+ - uses : pypa/gh-action-pypi-publish@release/v1
157
+ with :
158
+ user : __token__
159
+ password : ${{ secrets.blosc_pypi_secret }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments