tkobayas commented on code in PR #6860:
URL: https://github.com/apache/incubator-kie/pull/6860#discussion_r3794109009


##########
.github/workflows/ci.yaml:
##########
@@ -61,110 +63,82 @@ jobs:
             java: 17
           - os: macos-latest
             java: 21
-
     steps:
-      - name: 'SETUP :: Set paths for temporary files'
-        shell: bash
-        run: |
-          echo "CHANGED_FILES_FILE=${{ runner.temp }}/changed-files.txt" >> 
"$GITHUB_ENV"
-          echo "MAVEN_PL_AFFECTED_FILE=${{ runner.temp 
}}/maven-pl-affected.txt" >> "$GITHUB_ENV"
-          echo "MAVEN_PL_UPSTREAM_FILE=${{ runner.temp 
}}/maven-pl-upstream.txt" >> "$GITHUB_ENV"
-          echo "MAVEN_PL_CHANGED_FILE=${{ runner.temp }}/maven-pl-changed.txt" 
>> "$GITHUB_ENV"
-          echo "DEP_GRAPH_EXTRACTOR__OUTPUT_FILE=${{ runner.temp 
}}/dep-graph.tsv" >> "$GITHUB_ENV"
-          touch "${{ runner.temp }}/changed-files.txt"
-          touch "${{ runner.temp }}/maven-pl-affected.txt"
-          touch "${{ runner.temp }}/maven-pl-upstream.txt"
-          touch "${{ runner.temp }}/maven-pl-changed.txt"
-
-      - name: 'SETUP :: Free disk space (Ubuntu)'
-        if: runner.os == 'Linux'
-        shell: bash
-        run: |
-          sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
-          df -h
-
-      - name: 'SETUP :: Enable long file paths (Windows)'
-        if: runner.os == 'Windows'
-        shell: pwsh
-        run: |
-          git config --system core.longpaths true
-          reg add "HKLM\SYSTEM\CurrentControlSet\Control\FileSystem" /v 
LongPathsEnabled /t REG_DWORD /d 1 /f
-
       - name: "SETUP :: Checkout to load local actions"
         uses: actions/checkout@v7
 
-      - name: "SETUP :: Checkout @ Simulated squashed-merge if PR, else 
checkout current commit"
-        id: checkout_pr
-        uses: ./.github/actions/checkout-pr
-        with:
-          ref: ${{ github.base_ref }}
-
-      - uses: actions/setup-java@v5
-        name: 'SETUP :: Java ${{ matrix.java }}'
+      - uses: ./.github/actions/ci-setup
         with:
+          ref: ${{ github.ref }}
           java-version: ${{ matrix.java }}
-          distribution: temurin
-          cache: maven
 
-      # Temporary workaround while jbangdev/setup-jbang action doesn't include 
checksum verification.
-      # See https://github.com/apache/infrastructure-actions/pull/806
-      - name: 'SETUP :: Install JBang'
+      - name: "CI :: BUILD :: Full"
         shell: bash
-        run: |
-          curl -sL 
https://github.com/jbangdev/jbang/releases/download/v0.138.0/jbang-0.138.0.zip 
-o jbang.zip
-          echo 
"3c9fb9ac5823ae5ab9d136dec08b896e2a0f6f6b313689b21f43c511b7c34b85  jbang.zip" | 
sha256sum -c -
-          unzip -q jbang.zip
-          echo "${{ github.workspace }}/jbang-0.138.0/bin" >> $GITHUB_PATH
+        run: mvn --batch-mode --no-transfer-progress -fae 
-Dsurefire.redirectTestOutputToFile=true -Dfull -Dreproducible install

Review Comment:
   On push, we still use the non-parallel full build.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to