Skip to content

.github/workflows/retry-openvsx.yml #2

.github/workflows/retry-openvsx.yml

.github/workflows/retry-openvsx.yml #2

Workflow file for this run

# retry OpenVSX publish since it fails more than half the time...
on:
workflow_dispatch:
jobs:
release:
name: Release and publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm install
- uses: actions/setup-node@v2
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- name: Install the dependencies
run: npm i
- name: Install vsce and Open VSX
run: npm i -g ovsx
- name: Publish to Open VSX
id: pub_ovsx
run: |
npx ovsx publish -p ${{ secrets.OPEN_VSX }}