Make workflow for github action to build Java jdk for Windows x64. After completing the building, it should upload the artifact. I want to run workflow myself or when syncing with the main repo. Building should work with using cygwin.
It should have input for branch name or tag or commit SHA. Checkbox for adding --disable-warnings-as-errors as configure flag, choose of what build debug level i want (release, optimized, fast debug, slowdebug, etc.), input for boot jdk provider, input for boot jdk version, optional input for extra configure flags, and input for artifact name.
All should have a default:
input for branch and e.g. - master
Boot jdk version - 21
Boot jdk provider - Adoptium
build debug level - release
Optional configure flags should be empty
build artifact name should have default to (repo name)-(branch name)-windows-x64
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Below is a GitHub Actions workflow file (build-jdk.yml) that fulfills the requirements you specified. It includes inputs for branch/tag/commit SHA, build debug level, boot JDK provider/version, optional configure flags, and artifact name. The workflow uses Cygwin to build the JDK for Windows x64 and uploads the resulting artifact.