Skip to content

Commit

Permalink
ci: optimized build workflow [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
v1nc3n4 committed Nov 29, 2024
1 parent 1027e41 commit fe5997d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ jobs:
Linux)
os=ubuntu-24.04
name=Ubuntu
codeScanEnabled=$(if [[ "$jdk21BuildRequested" -eq 1 ]]; then echo true; else echo false; fi)
gitFetchDepth=$(if [[ "$codeScanEnabled" == true ]]; then echo 0; else echo 1; fi)
pluginTaskNameJdk21=$(if [[ "$codeScanEnabled" == true ]]; then echo jacocoTestReport; else echo build; fi)
codeScanEnabled=$(if [[ "$jdk21BuildRequested" == "true" ]]; then echo true; else echo false; fi)
gitFetchDepth=$(if [[ "$codeScanEnabled" == "true" ]]; then echo 0; else echo 1; fi)
pluginTaskNameJdk21=$(if [[ "$codeScanEnabled" == "true" ]]; then echo jacocoTestReport; else echo build; fi)
;;
Mac)
os=macos-14
Expand Down

0 comments on commit fe5997d

Please sign in to comment.