Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
scnwwu committed Sep 27, 2024
1 parent 88214ef commit 5e0e91a
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,21 @@ jobs:
path: ./*.vsix
retention-days: 5

- uses: johnnybenson/[email protected]
id: package-json
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: echo "vsixPath=sas-lsp-${{ steps.package-json.outputs.version }}.vsix" >> "$GITHUB_OUTPUT"
id: vsixPath
if: steps.package-json.outputs.has-updated == 'true'
- run: npx @vscode/vsce publish -i ${{ steps.vsixPath.outputs.vsixPath }}
if: steps.package-json.outputs.has-updated == 'true'
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
- run: npx ovsx publish ${{ steps.vsixPath.outputs.vsixPath }}
if: steps.package-json.outputs.has-updated == 'true'
env:
OVSX_PAT: ${{ secrets.OVSX_PAT }}
# - uses: johnnybenson/[email protected]
# id: package-json
# with:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - run: echo "vsixPath=sas-lsp-${{ steps.package-json.outputs.version }}.vsix" >> "$GITHUB_OUTPUT"
# id: vsixPath
# if: steps.package-json.outputs.has-updated == 'true'
# - run: npx @vscode/vsce publish -i ${{ steps.vsixPath.outputs.vsixPath }}
# if: steps.package-json.outputs.has-updated == 'true'
# env:
# VSCE_PAT: ${{ secrets.VSCE_PAT }}
# - run: npx ovsx publish ${{ steps.vsixPath.outputs.vsixPath }}
# if: steps.package-json.outputs.has-updated == 'true'
# env:
# OVSX_PAT: ${{ secrets.OVSX_PAT }}
- run: |
git tag -f v1.10
git push -f origin v1.10

0 comments on commit 5e0e91a

Please sign in to comment.