Skip to content

Commit b29bc2e

Browse files
committed
Publish workflow for Open VSX
1 parent 6ea728f commit b29bc2e

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/publish.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,3 +149,24 @@ jobs:
149149
pat: ${{ secrets.PUBLISHER_KEY }}
150150
registryUrl: https://marketplace.visualstudio.com
151151
extensionFile: ./vscode-github-actions-${{ needs.release.outputs.version }}.vsix
152+
153+
publish-openvsx:
154+
environment: publish-openvsx
155+
156+
needs: release
157+
158+
runs-on: ubuntu-latest
159+
permissions: {}
160+
161+
steps:
162+
- uses: actions/download-artifact@v4
163+
with:
164+
name: vscode-github-actions-${{ needs.release.outputs.version }}.vsix
165+
166+
- name: Install ovsx
167+
run: npm install -g ovsx
168+
169+
- name: Publish to Open VSX Registry
170+
env:
171+
OVSX_PAT: ${{ secrets.OVSX_PAT }}
172+
run: ovsx publish ./vscode-github-actions-${{ needs.release.outputs.version }}.vsix

0 commit comments

Comments
 (0)