Skip to content

Commit

Permalink
Merge pull request #573 from fendor/fix/release-candidate-vsx
Browse files Browse the repository at this point in the history
Enable pre-release feature for VSX Marketplace
  • Loading branch information
fendor authored Apr 12, 2022
2 parents 74f06ca + 78eb46a commit 1c38784
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
name: haskell-${{ github.event.release.tag_name }}.vsix
path: ${{ steps.packageExtension.outputs.vsixPath }}

## If this is a release job, publish to VSCode,
## otherwise publish a pre-release to VSCode
## If this is a release job, publish to VSCode Marketplace,
## otherwise publish a pre-release to VSCode Marketplace
- name: Publish to Visual Studio Marketplace
id: publishToVSMarketplace
uses: HaaLeo/publish-vscode-extension@v1
Expand All @@ -41,10 +41,10 @@ jobs:
yarn: true
preRelease: ${{ github.event.action == 'prereleased' }}

# Run this job only on release, VSX doesn't support pre-releases yet
## If this is a release job, publish to VSX Marketplace,
## otherwise publish a pre-release to VSX Marketplace
- name: Publish to Open VSX Registry
id: publishToOpenVSX
if: ${{ github.event.action == 'released' }}
continue-on-error: true
uses: HaaLeo/publish-vscode-extension@v1
with:
Expand Down

0 comments on commit 1c38784

Please sign in to comment.