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 44 push :
55 branches :
66 - main
7+ tags :
8+ - " v*"
9+
710 pull_request :
811 branches :
912 - main
9699 if : always()
97100
98101 package :
99- needs : test
102+ # needs: test
100103 runs-on : ubuntu-latest
101104
102105 steps :
@@ -147,3 +150,26 @@ jobs:
147150 with :
148151 name : wheel-package
149152 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