Skip to content

Commit

Permalink
ci: fixed build workflow for Windows [skip ci] (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1nc3n4 authored Nov 28, 2024
1 parent 6315447 commit 6b9500c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@ jobs:
fi
if [[ ("${{ github.event_name }}" == "push") || "${{ inputs.pluginJavaVersion }}" == "All" ]]; then
echo 'pluginJavaVersion=["21", "17", "11"]' >> "$GITHUB_OUTPUT"
else
elif [[ -n "${{ inputs.pluginJavaVersion }}" ]]; then
echo 'pluginJavaVersion=["${{ inputs.pluginJavaVersion }}"]' >> "$GITHUB_OUTPUT"
else
echo 'pluginJavaVersion=["21"]' >> "$GITHUB_OUTPUT"
fi
build:
Expand Down Expand Up @@ -133,7 +135,7 @@ jobs:
- name: Build plugin on Windows
if: runner.os == 'Windows'
run: |
gradlew :plugins:frontend-jdk${{ matrix.pluginJavaVersion }}:build --console=plain
./gradlew :plugins:frontend-jdk${{ matrix.pluginJavaVersion }}:build --console=plain
- name: Scan source code and test results
if: env.FGP_CODE_SCAN_ENABLED
Expand Down

0 comments on commit 6b9500c

Please sign in to comment.