diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 851f51874c..76121de3d5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -73,8 +73,8 @@ jobs: name: ${{ matrix.vsce_target }} path: "*.vsix" - publish: - name: Publish All + publish-vsce: + name: Publish All (Microsoft Marketplace) runs-on: ubuntu-latest needs: build if: success() && startsWith( github.ref, 'refs/tags/v') @@ -84,3 +84,15 @@ jobs: run: npx vsce publish --no-git-tag-version --packagePath $(find . -iname *.vsix) env: VSCE_PAT: ${{ secrets.VSCE_PAT }} + + publish-ovsx: + name: Publish All (OpenVSX) + runs-on: ubuntu-latest + needs: build + if: success() && startsWith( github.ref, 'refs/tags/v') + steps: + - uses: actions/download-artifact@v3 + - name: Publish Extension + run: npx ovsx publish --packagePath $(find . -iname *.vsix) + env: + OVSX_PAT: ${{ secrets.OVSX_PAT }}