Skip to content

Commit

Permalink
CI: switch from environment variable to CMake variable
Browse files Browse the repository at this point in the history
  • Loading branch information
forthommel committed Mar 11, 2024
1 parent c7edcf5 commit 941787b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Expand Up @@ -36,8 +36,7 @@ jobs:
- name: 'CMake configuration'
run: |
git config --global --add safe.directory /Package
echo "MADGRAPH_DIR=${{env.MG5_aMC_VERSION}}" >> $GITHUB_ENV
cmake -GNinja -B ${{env.CEPGEN_PATH}} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_BUILD_TESTS=ON
cmake -GNinja -B ${{env.CEPGEN_PATH}} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_BUILD_TESTS=ON -DMADGRAPH_DIRS=/Package/${{env.MG5_aMC_VERSION}}
- name: 'Build environment'
run: cmake --build ${{env.CEPGEN_PATH}}
Expand Down

0 comments on commit 941787b

Please sign in to comment.