File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ workflow_run :
3+ workflows : ["Markup parsing tests"]
4+ branches : [main]
5+ types :
6+ - completed
7+ push :
8+ tags :
9+ - " *"
10+ # https://stackoverflow.com/questions/58457140/dependencies-between-workflows-on-github-actions
11+ # https://docs.github.com/en/actions/reference/events-that-trigger-workflows#workflow_run
12+ # https://github.com/actions/create-release
13+
14+ jobs :
15+ publish :
16+ name : Publish Extension
17+ runs-on : ubuntu-latest
18+ steps :
19+ - name : Checkout
20+ uses : actions/checkout@v2
21+ - name : Install Node.js
22+ uses : actions/setup-node@v1
23+ with :
24+ node-version : 14.x
25+ - name : Install Dependencies
26+ run : npm ci
27+ # - name: Package Extension
28+ # run: npm run package
29+ - name : Publish to Visual Studio Marketplace
30+ run : ./node_modules/.bin/vsce publish -p ${{ secrets.VSCE_PAT }}
31+ - name : Publish to Open VSX Registry
32+ run : ./node_modules/.bin/ovsx publish -p ${{ secrets.OVSX_PAT }}
You can’t perform that action at this time.
0 commit comments