Skip to content

Commit 02399ac

Browse files
authored
Merge pull request #24 from bitloops/add-ci
add debug step in ci
2 parents 1f56cc7 + 89782a6 commit 02399ac

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,17 @@ jobs:
4949
- name: Install vsce
5050
run: npm install -g vsce
5151

52+
- name: Check if VSCE_TOKEN is set
53+
run: |
54+
if [[ -z "${VSCE_TOKEN}" ]]; then
55+
echo "VSCE_TOKEN is empty"
56+
exit 1
57+
else
58+
echo "VSCE_TOKEN is not empty"
59+
fi
60+
env:
61+
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}
62+
5263
- name: Publish to Marketplace
5364
env:
5465
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}

0 commit comments

Comments
 (0)