You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2023/06/14 08:18:11 UTC

[plc4x] branch develop updated: chore(build/plc4go): output the long path property on windows

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

sruehl pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new ea58f93655 chore(build/plc4go): output the long path property on windows
ea58f93655 is described below

commit ea58f936554a027fc446246f13ea03ed34bf90ed
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Wed Jun 14 10:18:03 2023 +0200

    chore(build/plc4go): output the long path property on windows
---
 .github/workflows/go-platform.yml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/go-platform.yml b/.github/workflows/go-platform.yml
index 6d87bc7d30..9ea6135527 100644
--- a/.github/workflows/go-platform.yml
+++ b/.github/workflows/go-platform.yml
@@ -128,11 +128,10 @@ jobs:
         with:
           languages: go
 
-      # This step runs an compile on windows to try to fix the memory issue on golang compile
-      - name: Run mvnw (precompile)
+      - name: Check LongPathsEnabled on Windows
         if: matrix.os == 'windows-latest'
         run: |
-          ./mvnw${{ steps.platform_suffix.outputs.platform_suffix }} ${{ steps.extra_options.outputs.extra_options }} -B -P'with-go,enable-all-checks' -pl :plc4go -am ${{ steps.platform_opts.outputs.platform_opts }} compile || true
+          (Get-ItemProperty "HKLM:System\CurrentControlSet\Control\FileSystem").LongPathsEnabled
 
       # Note: due to github has no concept of recovering from a fail even if we have our fallback below we append a second un-parallel run behind this to be sure that it works with all checks. Only if that fails too we are ok with a "red" (which should be yellow) cross indicating a problem
       - name: Run mvnw