Skip to content

Commit

Permalink
add checks to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lobis committed Dec 2, 2023
1 parent d8006e4 commit a45ac93
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/build-test-new.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ jobs:
make install -j$(nproc)
rm -rf ${{ github.workspace }}/geant4-source
- name: Check before cache
run: |
ls -l ${{ github.workspace }}/geant4-install
source ${{ github.workspace }}/geant4-install/bin/geant4.sh
geant4-config --version
geant4-config --prefix
geant4-config --datasets
- name: Cache Geant4 Installation
if: steps.cache.outputs.cache-hit != 'true'
uses: actions/cache@v2
Expand All @@ -65,3 +73,11 @@ jobs:
key: geant4-${{ matrix.geant4-version }}-${{ matrix.platform }}
restore-keys: |
geant4-${{ matrix.geant4-version }}-${{ matrix.platform }}
- name: Check after cache
run: |
ls -l ${{ github.workspace }}/geant4-install
source ${{ github.workspace }}/geant4-install/bin/geant4.sh
geant4-config --version
geant4-config --prefix
geant4-config --datasets

0 comments on commit a45ac93

Please sign in to comment.