From 5e0e91a601134e7011ba0ba84b35619fb4889ee4 Mon Sep 17 00:00:00 2001 From: Wei Wu Date: Fri, 27 Sep 2024 16:41:05 +0800 Subject: [PATCH] test --- .github/workflows/package.yml | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index aeb5a75a2..91a4a4209 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -22,18 +22,21 @@ jobs: path: ./*.vsix retention-days: 5 - - uses: johnnybenson/package-json-versioned-action@v1.0.9 - 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/package-json-versioned-action@v1.0.9 + # 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