Skip to content

Commit

Permalink
Fix tests for release workflow.
Browse files Browse the repository at this point in the history
- Remove unnecessary environment variables
- Remove unnecessary --skip-duplicate

Signed-off-by: Roland Grunberg <[email protected]>
  • Loading branch information
rgrunber committed Apr 3, 2024
1 parent 674118e commit 02950f9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand Down Expand Up @@ -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

0 comments on commit 02950f9

Please sign in to comment.