File tree Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- main
7
+ tags :
8
+ - " v*"
9
+
7
10
pull_request :
8
11
branches :
9
12
- main
96
99
if : always()
97
100
98
101
package :
99
- needs : test
102
+ # needs: test
100
103
runs-on : ubuntu-latest
101
104
102
105
steps :
@@ -147,3 +150,26 @@ jobs:
147
150
with :
148
151
name : wheel-package
149
152
path : dist/*.whl
153
+
154
+ publish :
155
+ runs-on : ubuntu-latest
156
+ needs : package
157
+ # if: success() && startsWith( github.ref, 'refs/tags/v')
158
+ if : success()
159
+ steps :
160
+ - uses : actions/download-artifact@v2
161
+ with :
162
+ name : vscode-package
163
+ path : dist
164
+ - uses : actions/download-artifact@v2
165
+ with :
166
+ name : python-package
167
+ path : dist
168
+ - uses : actions/download-artifact@v2
169
+ with :
170
+ name : wheel-package
171
+ path : dist
172
+ - run : poetry run npm-publish
173
+ env :
174
+ VSCE_PAT : ${{ secrets.VSCE_PAT }}
175
+
You can’t perform that action at this time.
0 commit comments