Skip to content

Commit

Permalink
openvsx
Browse files Browse the repository at this point in the history
  • Loading branch information
DetachHead committed Mar 20, 2024
1 parent 3e6bdc5 commit 4adbc36
Show file tree
Hide file tree
Showing 3 changed files with 6,655 additions and 6,359 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/build_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,16 @@ jobs:
run: ./pw pdm publish

# https://code.visualstudio.com/api/working-with-extensions/publishing-extension#get-a-personal-access-token
- name: Publish VSIX
- name: Publish VSIX to visual studio marketplace
if: github.ref == 'refs/heads/main' && steps.version-was-changed.outputs.VERSION_INFO == ''
run: ./node_modules/.bin/vsce publish --packagePath ${{ env.VSIX_NAME }} --pat ${{ secrets.VSCE_TOKEN }} --noVerify
working-directory: ${{ env.VSIX_DIR }}

- name: Publish VSIX to open VSX
if: github.ref == 'refs/heads/main' && steps.version-was-changed.outputs.VERSION_INFO == ''
run: ./node_modules/.bin/osvx publish --packagePath ${{ env.VSIX_NAME }} --pat ${{ secrets.OPEN_VSX_TOKEN }}
working-directory: ${{ env.VSIX_DIR }}

- uses: marvinpinto/action-automatic-releases@v1.2.1
if: github.ref == 'refs/heads/main' && steps.version-was-changed.outputs.VERSION_INFO == ''
with:
Expand Down
Loading

0 comments on commit 4adbc36

Please sign in to comment.