This is an automated email from the ASF dual-hosted git repository.

pkarwasz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-log4j-transform.git


The following commit(s) were added to refs/heads/main by this push:
     new 8930d32  Debug Maven Wrapper failure on Windows
8930d32 is described below

commit 8930d3265e569a8efa4aa3fb1a84a05cdb309bc3
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Sat Feb 4 12:41:26 2023 +0100

    Debug Maven Wrapper failure on Windows
---
 .github/workflows/build.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index f744557..3b2ae5e 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -63,12 +63,20 @@ jobs:
           architecture: x64
           cache: maven
 
+      # On Windows dowloading the Maven Wrapper fails if we use the `bash` 
script.
+      #- name: Check Maven Wrapper (Windows)
+      #  shell: cmd
+      #  env:
+      #    JAVA_HOME: ${{ env.JAVA_HOME_11_X64 }}
+      #  run: mvnw --version
+
       # We could have used `verify`, but `clean install` is required while 
generating the build reproducibility report, which is performed in the next 
step.
       # For details, see: 
https://maven.apache.org/guides/mini/guide-reproducible-builds.html#how-to-test-my-maven-build-reproducibility
       - name: Build
         shell: bash
         env:
           JAVA_HOME: ${{ env.JAVA_HOME_11_X64 }}
+          MVNW_VERBOSE: true
         run: |
           ./mvnw \
             --show-version --batch-mode --errors --no-transfer-progress \

Reply via email to