@@ -148,50 +148,7 @@ jobs:
148
148
with :
149
149
name : ${{ env.target }}
150
150
path : " extensions/vscode/*.vsix"
151
-
152
- release :
153
- permissions :
154
- contents : write
155
- runs-on : ubuntu-latest
156
- needs :
157
- - build
158
- steps :
159
- - name : Checkout
160
- uses : actions/checkout@v4
161
-
162
- - name : Set up Git
163
- run : |
164
- git config --local user.email "[email protected] "
165
- git config --local user.name "GitHub Action"
166
-
167
- # Download the .vsix artifacts
168
- - uses : actions/download-artifact@v3
169
-
170
- - name : Tag the repository
171
- id : tag
172
- run : |
173
- # See https://docs.github.com/en/get-started/using-git/dealing-with-special-characters-in-branch-and-tag-names
174
- TAG=v$(grep -o '"version": "[^"]*' extensions/vscode/package.json | cut -d'"' -f4)-vscode
175
- echo "$TAG"
176
- echo "tag=$TAG" >> $GITHUB_OUTPUT
177
- git tag -a $TAG -m "Published version $TAG" ${GITHUB_SHA}
178
- git push origin $TAG
179
-
180
- - name : Release
181
- uses : softprops/action-gh-release@v2
182
- with :
183
- tag_name : ${{ steps.tag.outputs.tag }}
184
- files : |
185
- alpine-x64/*.vsix
186
- darwin-arm64/*.vsix
187
- darwin-x64/*.vsix
188
- linux-arm64/*.vsix
189
- linux-armhf/*.vsix
190
- linux-x64/*.vsix
191
- win32-x64/*.vsix
192
- win32-arm64/*.vsix
193
- token : ${{ secrets.CI_GITHUB_TOKEN }}
194
- repository : continuedev/continue
151
+
195
152
196
153
publish :
197
154
runs-on : ubuntu-latest
@@ -223,13 +180,6 @@ jobs:
223
180
env :
224
181
VSCE_PAT : ${{ secrets.VSCE_TOKEN }}
225
182
226
- # 3. Publish the extension to Open VSX Registry
227
- - name : Publish (Open VSX Registry)
228
- continue-on-error : true
229
- run : |
230
- cd extensions/vscode
231
- npx ovsx publish -p ${{ secrets.VS_MARKETPLACE_TOKEN }} --packagePath ../../alpine-x64/*.vsix ../../darwin-arm64/*.vsix ../../darwin-x64/*.vsix ../../linux-arm64/*.vsix ../../linux-armhf/*.vsix ../../linux-x64/*.vsix ../../win32-x64/*.vsix ../../win32-arm64/*.vsix
232
-
233
183
# 4. Update the package.json version and push changes
234
184
- name : Update version in package.json
235
185
run : |
@@ -246,12 +196,4 @@ jobs:
246
196
uses : ad-m/github-push-action@master
247
197
with :
248
198
github_token : ${{ secrets.GITHUB_TOKEN }}
249
- branch : ${{ github.ref }}
250
-
251
- # 5 Send to Discord Webhook
252
- - name : Discord Commits
253
-
254
- with :
255
- webhook : ${{ secrets.DISCORD_WEBHOOK }}
256
- template : " avatar-with-link"
257
- include-extras : true
199
+ branch : ${{ github.ref }}
0 commit comments