File tree Expand file tree Collapse file tree 1 file changed +19
-3
lines changed
Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,17 @@ jobs:
106106 runs-on : ubuntu-latest
107107 needs : ['build-server', 'build-clients']
108108 steps :
109+ - name : Install Nodejs
110+ uses : actions/setup-node@v1
111+ with :
112+ node-version : 12.x
113+
114+ - run : echo "::set-env name=TAG::$(date --iso)"
115+ - run : ' echo "TAG: $TAG"'
116+
117+ - name : Checkout repository
118+ uses : actions/checkout@v1
119+
109120 - uses : actions/download-artifact@v1
110121 with :
111122 name : editor-plugins
@@ -124,9 +135,6 @@ jobs:
124135 path : dist
125136 - run : ls -all ./dist
126137
127- - run : echo "::set-env name=TAG::$(date --iso)"
128- - run : ' echo "TAG: $TAG"'
129-
130138 - name : Create Release
131139 id : create_release
132140 # uses: actions/create-release@v1
@@ -184,3 +192,11 @@ jobs:
184192 asset_path : ./dist/rust-analyzer.el
185193 asset_name : rust-analyzer.el
186194 asset_content_type : text/plain
195+
196+ - run : npm ci
197+ working-directory : ./editors/code
198+
199+ - name : Publish Extension
200+ working-directory : ./editors/code
201+ # token from https://dev.azure.com/rust-analyzer/
202+ run : ./node_modules/vsce/out/vsce publish 0.1.0.$(date +%Y%m%d) --pat ${{ secrets.MARKETPLACE_TOKEN }}
You can’t perform that action at this time.
0 commit comments