Skip to content

Commit 6746384

Browse files
Merge pull request #70 from daimor/master
fix publishing
2 parents 62b1da8 + 435a2d4 commit 6746384

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,10 @@ jobs:
144144
- name: Publish to VSCode Marketplace
145145
shell: bash
146146
run: |
147-
[ -z "${{ secrets.VSCE_TOKEN }}" ] && \
147+
[ -n "${{ secrets.VSCE_TOKEN }}" ] && \
148148
npx vsce publish --packagePath ${{ needs.build.outputs.name }}.vsix -p ${{ secrets.VSCE_TOKEN }} || true
149149
- name: Publish to Open VSX Registry
150150
shell: bash
151151
run: |
152-
[ -z "${{ secrets.OVSX_TOKEN }}" ] && \
152+
[ -n "${{ secrets.OVSX_TOKEN }}" ] && \
153153
npx ovsx publish ${{ needs.build.outputs.name }}.vsix --pat ${{ secrets.OVSX_TOKEN }} || true

0 commit comments

Comments
 (0)