From 471bea4677010d2cc103d7c687a7fefd13d3b5fe Mon Sep 17 00:00:00 2001 From: Luis Antonio Obis Aparicio Date: Fri, 1 Dec 2023 22:45:49 -0600 Subject: [PATCH] handle newline --- .github/workflows/build-test-new.yaml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-test-new.yaml b/.github/workflows/build-test-new.yaml index 897e0fa..a240e90 100644 --- a/.github/workflows/build-test-new.yaml +++ b/.github/workflows/build-test-new.yaml @@ -51,16 +51,14 @@ jobs: - name: Build and Install Geant4 if: steps.cache.outputs.cache-hit != 'true' - run: | - git clone https://github.com/Geant4/geant4.git geant4 --depth 1 --branch v${{ matrix.geant4-version }} - cmake -G Ninja -B geant4/build -S geant4 - -DCMAKE_INSTALL_PREFIX=geant4-install -DCMAKE_CXX_STANDARD=$CMAKE_CXX_STANDARD -DCMAKE_BUILD_TYPE=Release - -DGEANT4_USE_GDML=ON - -DGEANT4_INSTALL_EXAMPLES=OFF - -DGEANT4_INSTALL_DATA=OFF - -DGEANT4_BUILD_TLS_MODEL=global-dynamic - cmake --build geant4/build -j$(nproc) --target install - rm -rf geant4 + run: >- + git clone https://github.com/Geant4/geant4.git geant4 --depth 1 + --branch v${{ matrix.geant4-version }} cmake -G Ninja -B geant4/build + -S geant4 -DCMAKE_INSTALL_PREFIX=geant4-install + -DCMAKE_CXX_STANDARD=20 -DCMAKE_BUILD_TYPE=Release + -DGEANT4_USE_GDML=ON -DGEANT4_INSTALL_EXAMPLES=OFF + -DGEANT4_INSTALL_DATA=OFF -DGEANT4_BUILD_TLS_MODEL=global-dynamic + cmake --build geant4/build -j$(nproc) --target install rm -rf geant4 - name: Cache Geant4 Installation if: steps.cache.outputs.cache-hit != 'true'