Skip to content

Commit 4889f1c

Browse files
committed
ci: Fix publishing to all platform variants
1 parent eab6e5c commit 4889f1c

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ jobs:
4141
- name: Build & package extension
4242
run: ./package.sh
4343

44+
- name: List build products
45+
run: |
46+
du -a out/
47+
du -a dist/
48+
4449
- name: Upload build artifacts
4550
if: github.event_name != 'pull_request'
4651
uses: actions/upload-artifact@v4
@@ -54,15 +59,15 @@ jobs:
5459
env:
5560
OPEN_VSX_PUBLISH_TOKEN: ${{ secrets.OPEN_VSX_PUBLISH_TOKEN }}
5661
run: |
57-
ovsx publish dist/*.vsix --pat "$OPEN_VSX_PUBLISH_TOKEN"
62+
ovsx publish --packagePath dist/*.vsix --pat "$OPEN_VSX_PUBLISH_TOKEN"
5863
5964
# Publish to VS Code Marketplace.
6065
- name: Publish to VS Code Marketplace
6166
if: startsWith(github.ref, 'refs/tags/v')
6267
env:
6368
VSCE_PUBLISH_PERSONAL_ACCESS_TOKEN: ${{ secrets.VSCE_PUBLISH_PERSONAL_ACCESS_TOKEN }}
6469
run: |
65-
vsce publish --pat "$VSCE_PUBLISH_PERSONAL_ACCESS_TOKEN"
70+
vsce publish --packagePath dist/*.vsix --pat "$VSCE_PUBLISH_PERSONAL_ACCESS_TOKEN"
6671
6772
# Create GitHub Release.
6873
- name: Create GitHub Release

0 commit comments

Comments
 (0)