Skip to content

Commit

Permalink
chore: add publish to open-vsx (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
byCedric authored Jul 4, 2022
1 parent 5996763 commit d80c518
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: ./.github/actions/setup-project

- name: 🎁 Package extension
run: yarn vsce package
run: yarn vsce package --yarn

- name: 📋 Add package to release
uses: softprops/action-gh-release@v1
Expand All @@ -37,3 +37,20 @@ jobs:
run: yarn vsce publish --yarn
env:
VSCE_PAT: ${{ secrets.VSCE_TOKEN }}

open-vsx:
runs-on: ubuntu-latest
steps:
- name: 🏗 Setup repo
uses: actions/checkout@v3

- name: 🏗 Setup project
uses: ./.github/actions/setup-project

- name: 🎁 Package extension
run: yarn vsce package --yarn --out ./vscode-expo.vsix

- name: 🚀 Publish to open-vsx
run: npx ovsx publish ./vscode-expo.vsix
env:
OVSX_PAT: ${{ secrets.OPENVSX_TOKEN }}

0 comments on commit d80c518

Please sign in to comment.