Skip to content

Commit 0292f8d

Browse files
committed
fix paths
1 parent 5c80eac commit 0292f8d

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
NAME=$(jq -r '.name' package.json)-$VERSION
3434
echo ::set-output name=name::$NAME
3535
mkdir dist
36-
npx vsce package -o ./dist/$NAME.vsix
36+
npx vsce package -o $NAME.vsix
3737
- name: Upload Release Asset
3838
id: upload-release-asset
3939
uses: actions/upload-release-asset@v1
@@ -42,14 +42,14 @@ jobs:
4242
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4343
with:
4444
upload_url: ${{ github.event.release.upload_url }}
45-
asset_path: ./dist/${{ steps.set-version.outputs.name }}.vsix
45+
asset_path: ${{ steps.set-version.outputs.name }}.vsix
4646
asset_name: ${{ steps.set-version.outputs.name }}.vsix
4747
asset_content_type: application/zip
4848
- name: Publish to VSCode Marketplace
4949
run: |
5050
[ -n "${{ secrets.VSCE_TOKEN }}" ] && \
51-
npx vsce publish --packagePath ./dist/${{ steps.set-version.outputs.name }}.vsix -p ${{ secrets.VSCE_TOKEN }} || true
51+
npx vsce publish --packagePath ${{ steps.set-version.outputs.name }}.vsix -p ${{ secrets.VSCE_TOKEN }} || true
5252
- name: Publish to Open VSX Registry
5353
run: |
5454
[ -n "${{ secrets.OVSX_TOKEN }}" ] && \
55-
npx ovsx publish --packagePath ./dist/${{ steps.set-version.outputs.name }}.vsix --pat ${{ secrets.OVSX_TOKEN }} || true
55+
npx ovsx publish --packagePath ${{ steps.set-version.outputs.name }}.vsix --pat ${{ secrets.OVSX_TOKEN }} || true

.vscodeignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1+
.github/**
12
.vscode/**
23
.vscode-test/**
34
.gitignore
4-
vsc-extension-quickstart.md
5+

0 commit comments

Comments
 (0)