Skip to content

Commit

Permalink
Merge pull request #725 from coq-community/fix-ci
Browse files Browse the repository at this point in the history
Fix ci
  • Loading branch information
rtetley authored Feb 13, 2024
2 parents 888ea80 + d5abbe2 commit 6cbe9d3
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,3 +188,37 @@ jobs:
draft: true
prerelease: false
generate_release_notes: true

publish-extension:
runs-on: ubuntu-latest
if: success()
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Publish on VsCode marketplace
run: |
cd client
cp ../LICENSE . && cp ../README.md .
- name: Publish to Open VSX Registry
uses: HaaLeo/[email protected]
id: publishToOpenVSX
with:
pat: 'stub'
packagePath: ./client/
yarn: true
preRelease: false
dryRun: true
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/[email protected]
with:
pat: 'stub'
packagePath: ./client/
registryUrl: https://marketplace.visualstudio.com
extensionFile: ${{ steps.publishToOpenVSX.outputs.vsixPath }}
yarn: true
preRelease: false
dryRun: true
4 changes: 2 additions & 2 deletions .github/workflows/publish-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ jobs:
cd client
cp ../LICENSE . && cp ../README.md .
- name: Publish to Open VSX Registry
uses: HaaLeo/[email protected].1
uses: HaaLeo/[email protected].2
id: publishToOpenVSX
with:
pat: ${{ secrets.OVSX_PAT }}
packagePath: ./client/
yarn: true
preRelease: false
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/[email protected].1
uses: HaaLeo/[email protected].2
with:
pat: ${{ secrets.VSCE_PAT }}
packagePath: ./client/
Expand Down

0 comments on commit 6cbe9d3

Please sign in to comment.