From ccce116d3cb2bdf4d9849c01c5c53655de2f6c12 Mon Sep 17 00:00:00 2001 From: Aregtech Date: Wed, 16 Oct 2024 09:47:06 +0200 Subject: [PATCH] Another try, fetching after installation of cygwin --- .github/workflows/cmake.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index c325713..388ac1d 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -37,14 +37,6 @@ jobs: steps: - - name: Config Git - run: git config --global core.autocrlf input - - - name: Checkout AREG SDK Demo project sources and dependencies - uses: actions/checkout@v4 - with: - submodules: recursive - - name: Setup Java JDK to run code generator uses: actions/setup-java@v4.4.0 with: @@ -87,6 +79,14 @@ jobs: export NO_PAM=1 NO_UNWIND=1 NO_WOLFSSL=1 export SHELL=/bin/dash + - name: Config Git + run: git config --global core.autocrlf input + + - name: Checkout AREG SDK Demo project sources and dependencies + uses: actions/checkout@v4 + with: + submodules: recursive + - name: Set cmake cache destination for Linux if: matrix.config.os == 'ubuntu-latest' run: echo "CACHE_DEST=./product/cache/${{matrix.config.name}}" >> "$GITHUB_ENV" @@ -112,7 +112,7 @@ jobs: # Build your program with the given configuration run: cmake --build ${{env.CACHE_DEST}} -j 20 - - name: Config Git add safe directory + - name: Remove areg-sdk-demo files if: matrix.config.family == 'cygwin' shell: bash run: rm -r -f ${{github.workspace}}/*