From 638cfe09c56b8e75cf3dfa77652f51312766bd36 Mon Sep 17 00:00:00 2001 From: Christoph Schlosser <2466365+cschlosser@users.noreply.github.com> Date: Wed, 26 May 2021 22:13:37 +0200 Subject: Add open vsx (#235) Replace gitter.im with IRC --- .github/workflows/cd.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 96e9a8d..01c207e 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -25,7 +25,7 @@ jobs: - run: yarn - name: Install VSCE - run: yarn add vsce -D + run: yarn add vsce ovsx -D - name: Update $PATH run: echo "$PWD/node_modules/.bin/" >> $GITHUB_PATH @@ -33,12 +33,18 @@ jobs: - name: Build vsix run: vsce package && ls -alh - - name: Deploy to Marketplace + - name: Publish to VS Code Marketplace run: vsce publish -p ${VSCE_TOKEN} env: VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }} if: contains(github.ref, 'refs/tags/') + - name: Publish to Open VSX Registry + run: ovsx publish + env: + OVSX_PAT: ${{ secrets.OPEN_VSX_TOKEN }} + if: contains(github.ref, 'refs/tags/') + - name: Upload vsix to GitHub release uses: svenstaro/upload-release-action@v2 with: -- cgit v1.2.3