.github/workflows/retry-openvsx.yml #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 }} |