Skip to content

Commit

Permalink
Add correct conditional, comment out actual publish step (to be added…
Browse files Browse the repository at this point in the history
… back later, can't remove published versions yet microsoft/vsmarketplace#235)
  • Loading branch information
esarver committed Jul 1, 2024
1 parent e0ab8c3 commit b09b690
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ jobs:
- sbom
- lint
- style
if: ${{ (endsWith(github.base_ref, 'main') && (contains(github.head_ref, 'release/')) || github.event.pull_request.merged ) }}
if: ${{ (endsWith(github.base_ref, 'main') && (contains(github.head_ref, 'release/')) && github.event.pull_request.merged ) }}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -162,7 +162,7 @@ jobs:
run: |
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > .npmrc
npm install --devDependencies
npx vsce publish --packagePath extension/*.vsix
# npx vsce publish --packagePath extension/*.vsix
env:
VSCE_PAT: ${{secrets.VSCE_PAT}}

Expand Down

0 comments on commit b09b690

Please sign in to comment.