From 02950f9e8baccabed766105c885302a31a7e96a7 Mon Sep 17 00:00:00 2001 From: Roland Grunberg Date: Wed, 3 Apr 2024 15:02:38 -0400 Subject: [PATCH] Fix tests for release workflow. - Remove unnecessary environment variables - Remove unnecessary --skip-duplicate Signed-off-by: Roland Grunberg --- .github/workflows/release.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 290a90c..d06b57b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -103,11 +103,9 @@ jobs: npm run build npm run vscode:prepublish - name: Test vscode-microprofile - env: - SKIP_COMMANDS_TEST: true - SKIP_CLASSPATH_TEST: true run: | - $(echo "xvfb-run --auto-servernum") npm run test --silent + pushd vscode-microprofile + xvfb-run --auto-servernum npm run test --silent continue-on-error: true - name: Prepare Pre-Release if: ${{ github.event_name == 'schedule' || inputs.publishPreRelease == 'true' }} @@ -157,4 +155,4 @@ jobs: - name: Publish to OpenVSX Registry if: ${{ github.event_name == 'schedule' || inputs.publishToOVSX == 'true' || inputs.publishPreRelease == 'true' }} run: | - ovsx publish --skip-duplicate -p ${{ secrets.OVSX_MARKETPLACE_TOKEN }} --packagePath vscode-microprofile/vscode-microprofile-*-${GITHUB_RUN_NUMBER}.vsix + ovsx publish -p ${{ secrets.OVSX_MARKETPLACE_TOKEN }} --packagePath vscode-microprofile/vscode-microprofile-*-${GITHUB_RUN_NUMBER}.vsix