diff --git a/.github/workflows/pull_request_gradle.yml b/.github/workflows/pull_request_gradle.yml index 0a7031eaec..8b9e33a3e7 100644 --- a/.github/workflows/pull_request_gradle.yml +++ b/.github/workflows/pull_request_gradle.yml @@ -28,6 +28,13 @@ jobs: java-version: [ 17 ] # Only the first supported LTS; already too many jobs here. timeout-minutes: 120 steps: + # Clone timefold-quickstarts + # No need to check for stale repo, as Github merges the main repo into the fork automatically. + - name: Checkout timefold-quickstarts + uses: actions/checkout@v4 + with: + path: './timefold-quickstarts' + # Clone timefold-solver # Need to check for stale repo, since Github is not aware of the build chain and therefore doesn't automate it. - name: Checkout timefold-solver (PR) # Checkout the PR branch first, if it exists @@ -49,13 +56,6 @@ jobs: path: ./timefold-solver fetch-depth: 0 # Otherwise merge will fail on account of not having history. - # Clone timefold-quickstarts - # No need to check for stale repo, as Github merges the main repo into the fork automatically. - - name: Checkout timefold-quickstarts - uses: actions/checkout@v4 - with: - path: './timefold-quickstarts' - # Build the solver - name: "Setup Java and Gradle" uses: actions/setup-java@v3 diff --git a/.github/workflows/pull_request_maven.yml b/.github/workflows/pull_request_maven.yml index d7f2d05d36..5aedc0f09e 100644 --- a/.github/workflows/pull_request_maven.yml +++ b/.github/workflows/pull_request_maven.yml @@ -28,6 +28,13 @@ jobs: java-version: [ 17, 21, 22 ] #Latest two LTS + latest non-LTS. timeout-minutes: 120 steps: + # Clone timefold-quickstarts + # No need to check for stale repo, as Github merges the main repo into the fork automatically. + - name: Checkout timefold-quickstarts + uses: actions/checkout@v4 + with: + path: './timefold-quickstarts' + # Clone timefold-solver # Need to check for stale repo, since Github is not aware of the build chain and therefore doesn't automate it. - name: Checkout timefold-solver (PR) # Checkout the PR branch first, if it exists @@ -49,13 +56,6 @@ jobs: path: ./timefold-solver fetch-depth: 0 # Otherwise merge will fail on account of not having history. - # Clone timefold-quickstarts - # No need to check for stale repo, as Github merges the main repo into the fork automatically. - - name: Checkout timefold-quickstarts - uses: actions/checkout@v4 - with: - path: './timefold-quickstarts' - # Build and test - name: "Setup Java and Maven" uses: actions/setup-java@v3 diff --git a/.github/workflows/pull_request_maven_long_running.yml b/.github/workflows/pull_request_maven_long_running.yml index 9e65cdd2b0..7ef1dfa798 100644 --- a/.github/workflows/pull_request_maven_long_running.yml +++ b/.github/workflows/pull_request_maven_long_running.yml @@ -34,6 +34,13 @@ jobs: java-version: [ 17 ] # Only the first supported LTS; already too many jobs here. timeout-minutes: 120 steps: + # Clone timefold-quickstarts + # No need to check for stale repo, as Github merges the main repo into the fork automatically. + - name: Checkout timefold-quickstarts + uses: actions/checkout@v4 + with: + path: './timefold-quickstarts' + # Clone timefold-solver # Need to check for stale repo, since Github is not aware of the build chain and therefore doesn't automate it. - name: Checkout timefold-solver (PR) # Checkout the PR branch first, if it exists @@ -54,13 +61,6 @@ jobs: path: ./timefold-solver fetch-depth: 0 # Otherwise merge will fail on account of not having history. - # Clone timefold-quickstarts - # No need to check for stale repo, as Github merges the main repo into the fork automatically. - - name: Checkout timefold-quickstarts - uses: actions/checkout@v4 - with: - path: './timefold-quickstarts' - # Build and test - name: "Setup GraalVM native image" uses: graalvm/setup-graalvm@v1 @@ -92,6 +92,13 @@ jobs: java-version: [ 17 ] # Only the first supported LTS; already too many jobs here. timeout-minutes: 120 steps: + # Clone timefold-quickstarts + # No need to check for stale repo, as Github merges the main repo into the fork automatically. + - name: Checkout timefold-quickstarts + uses: actions/checkout@v4 + with: + path: './timefold-quickstarts' + # Clone timefold-solver # Need to check for stale repo, since Github is not aware of the build chain and therefore doesn't automate it. - name: Checkout timefold-solver (PR) # Checkout the PR branch first, if it exists @@ -134,13 +141,6 @@ jobs: path: ./timefold-solver-enterprise fetch-depth: 0 # Otherwise merge will fail on account of not having history. - # Clone timefold-quickstarts - # No need to check for stale repo, as Github merges the main repo into the fork automatically. - - name: Checkout timefold-quickstarts - uses: actions/checkout@v4 - with: - path: './timefold-quickstarts' - # Build and test - name: "Setup GraalVM native image" uses: graalvm/setup-graalvm@v1 @@ -174,6 +174,13 @@ jobs: java-version: [ 17 ] # Only the first supported LTS; already too many jobs here. timeout-minutes: 120 steps: + # Clone timefold-quickstarts + # No need to check for stale repo, as Github merges the main repo into the fork automatically. + - name: Checkout timefold-quickstarts + uses: actions/checkout@v4 + with: + path: './timefold-quickstarts' + # Clone timefold-solver # Need to check for stale repo, since Github is not aware of the build chain and therefore doesn't automate it. - name: Checkout timefold-solver (PR) # Checkout the PR branch first, if it exists @@ -194,13 +201,6 @@ jobs: path: ./timefold-solver fetch-depth: 0 # Otherwise merge will fail on account of not having history. - # Clone timefold-quickstarts - # No need to check for stale repo, as Github merges the main repo into the fork automatically. - - name: Checkout timefold-quickstarts - uses: actions/checkout@v4 - with: - path: './timefold-quickstarts' - # Build and test - name: "Setup GraalVM native image" uses: graalvm/setup-graalvm@v1 diff --git a/.github/workflows/pull_request_python.yml b/.github/workflows/pull_request_python.yml index d4769f47eb..7a84dd47fe 100644 --- a/.github/workflows/pull_request_python.yml +++ b/.github/workflows/pull_request_python.yml @@ -26,6 +26,13 @@ jobs: python-version: ['3.11', '3.12'] timeout-minutes: 120 steps: + # Clone timefold-quickstarts + # No need to check for stale repo, as Github merges the main repo into the fork automatically. + - name: Checkout timefold-quickstarts + uses: actions/checkout@v4 + with: + path: './timefold-quickstarts' + # Clone timefold-solver # Need to check for stale repo, since Github is not aware of the build chain and therefore doesn't automate it. - name: Checkout timefold-solver (PR) # Checkout the PR branch first, if it exists @@ -47,13 +54,6 @@ jobs: path: ./timefold-solver fetch-depth: 0 # Otherwise merge will fail on account of not having history. - # Clone timefold-quickstarts - # No need to check for stale repo, as Github merges the main repo into the fork automatically. - - name: Checkout timefold-quickstarts - uses: actions/checkout@v4 - with: - path: './timefold-quickstarts' - # Build and test - name: "Setup Java and Maven" uses: actions/setup-java@v3