From a1c84a5e86d111674cb65d9c1a232bc07a911d87 Mon Sep 17 00:00:00 2001 From: Timo Sachsenberg Date: Tue, 16 Apr 2024 18:19:25 +0200 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f8347a4..abf8ca5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -60,8 +60,8 @@ jobs: # TODO use appropriate number of cores - name: Build contrib run: | - mkdir $GITHUB_WORKSPACE/contrib-build - cd $GITHUB_WORKSPACE/contrib-build + mkdir ${{ github.workspace }}/contrib-build + cd ${{ github.workspace }}/contrib-build cmake ${{matrix.CMAKE_ARGS}} -DBUILD_TYPE=ALL -DNUMBER_OF_JOBS=4 ${{ github.workspace }}/contrib cmake ${{matrix.CMAKE_ARGS}} -DBUILD_TYPE=OPENMP -DNUMBER_OF_JOBS=4 ${{ github.workspace }}/contrib @@ -99,7 +99,7 @@ jobs: - name: Clean build shell: bash run: | - cd $GITHUB_WORKSPACE/contrib-build + cd ${{ github.workspace }}/contrib-build rm -rf archives rm -rf src rm -rf CMakeFiles