From 8a29debb0dcbefa17b950eccbe12810e07956907 Mon Sep 17 00:00:00 2001 From: Jason Dent Date: Fri, 6 Jan 2023 09:36:27 +0100 Subject: [PATCH] chore: Add skip duplicate to publishing --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8bd71dbf..49bb08d2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -58,7 +58,7 @@ jobs: - name: Publish VSCE run: | cd $EXTENSION_DIR - npx vsce publish -p ${{ secrets.VSCE_TOKEN }} || echo "PUB_FAIL_VSCE=true" >> $GITHUB_ENV + npx vsce publish --skip-duplicate -p ${{ secrets.VSCE_TOKEN }} || echo "PUB_FAIL_VSCE=true" >> $GITHUB_ENV - name: Check Publish Result VSCE if: ${{ env.PUB_FAIL_VSCE }}