Factor out setup-* actions#14859
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
* upstream/main: (64 commits) New Crowdin updates (JabRef#14862) Make JDK25 available (JabRef#14861) Fix empty entries array when exporting group chat to JSON (JabRef#14814) feat: add right-click copy context menu to AI chat messages (JabRef#14722) FIX : generic error dialog and icon in Source Tab parsing (JabRef#14828) Factor out setup-* actions (JabRef#14859) Link .http files. Update dependency org.postgresql:postgresql to v42.7.9 (JabRef#14857) Add more commands to JabSrv (JabRef#14855) Fix JabRef#14821: Hide identifier action buttons when field is empty (JabRef#14831) Add GH_TOKEN to closed issues/PRs processing step New Crowdin updates (JabRef#14854) New Crowdin updates (JabRef#14849) Chore(deps): Bump jablib/src/main/resources/csl-styles from `0201999` to `f345aa8` (JabRef#14833) Add support for book front covers, again (JabRef#14777) Readd min width to button in new enty dialog (JabRef#14791) Replace plugin impl from jbang plugin (JabRef#14846) Revise AI policy wording Chore(deps): Bump jablib/src/main/resources/csl-locales (JabRef#14677) Update dependency com.konghq:unirest-modules-gson to v4.7.1 (JabRef#14845) ...
User description
Streamlines our workflows by extracting the common steps
Caches LTWA download to reduce load on their servers - and to make CI more stable
Steps to test
See CI steps pass
Mandatory checks
CHANGELOG.mdin a way that is understandable for the average user (if change is visible to the user)PR Type
Enhancement
Description
Extract common setup steps into reusable GitHub Actions
Add LTWA file caching to reduce external server load
Consolidate JDK, Gradle, and JBang setup across workflows
Simplify workflow files by replacing duplicated steps with action references
Diagram Walkthrough
File Walkthrough
15 files
action.yml
New composite action for JDK, Gradle, JBang setup.github/actions/setup-gradle/action.yml
action.yml
New composite action for GitVersion and gradle setup.github/actions/setup-with-gitversion/action.yml
configuration
binaries.yml
Replace setup steps with reusable action.github/workflows/binaries.yml
setup-with-gitversion action
logic
publish.yml
Replace setup steps with reusable action.github/workflows/publish.yml
action
run-openrewrite.yml
Replace setup steps with reusable action.github/workflows/run-openrewrite.yml
sbom-pr.yml
Replace setup steps with reusable action.github/workflows/sbom-pr.yml
tests-code-fetchers.yml
Replace setup steps with reusable action.github/workflows/tests-code-fetchers.yml
tests-code.yml
Replace setup steps with reusable action.github/workflows/tests-code.yml
checkstyle job
jobs
tests-code.yml
Replace setup steps with reusable action.github/workflows/tests-code.yml
job
tests-code.yml
Replace setup steps with reusable action.github/workflows/tests-code.yml
tests job
tests-code.yml
Replace setup steps with reusable action.github/workflows/tests-code.yml
tests job
tests-code.yml
Replace setup steps with reusable action.github/workflows/tests-code.yml
test job
tests-code.yml
Replace setup steps with reusable action.github/workflows/tests-code.yml
tests job
tests-code.yml
Replace setup steps with reusable action.github/workflows/tests-code.yml
jbang-build job
tests-code.yml
Replace setup steps with reusable action.github/workflows/tests-code.yml
jabkit-build job