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:
106
106
runs-on : ubuntu-latest
107
107
needs : ['build-server', 'build-clients']
108
108
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
+
109
120
- uses : actions/download-artifact@v1
110
121
with :
111
122
name : editor-plugins
@@ -124,9 +135,6 @@ jobs:
124
135
path : dist
125
136
- run : ls -all ./dist
126
137
127
- - run : echo "::set-env name=TAG::$(date --iso)"
128
- - run : ' echo "TAG: $TAG"'
129
-
130
138
- name : Create Release
131
139
id : create_release
132
140
# uses: actions/create-release@v1
@@ -184,3 +192,11 @@ jobs:
184
192
asset_path : ./dist/rust-analyzer.el
185
193
asset_name : rust-analyzer.el
186
194
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