Skip to content

Commit c7516df

Browse files
test ci
1 parent bf7e598 commit c7516df

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/deploy-packages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242
run: |
4343
VERSION=$(node -p "require('./packages/urlspec-vscode-extension/package.json').version")
4444
HTTP_STATUS=$(curl -s -o /dev/null -w "%{http_code}" "https://open-vsx.org/api/daangn/urlspec-vscode-extension/$VERSION")
45+
echo "version=$VERSION"
46+
echo "unpublished=$([ "$HTTP_STATUS" = "404" ] && echo 'true' || echo 'false')"
4547
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
4648
echo "unpublished=$([ "$HTTP_STATUS" = "404" ] && echo 'true' || echo 'false')" >> "$GITHUB_OUTPUT"
4749

0 commit comments

Comments
 (0)