Skip to content

Commit

Permalink
debug action
Browse files Browse the repository at this point in the history
  • Loading branch information
lobis committed Sep 24, 2024
1 parent 9579d74 commit f9c812d
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
id: cache-geant4
uses: actions/cache@v4
with:
path: ${{ github.workspace }}/geant4
path: ${{ env.Geant4_DIR }}
key: geant4-v${{ env.GEANT4_VERSION }}-cpp${{ env.CPP_STANDARD }}
fail-on-cache-miss: true

Expand All @@ -111,9 +111,14 @@ jobs:
if: steps.cache-geant4-data.outputs.cache-hit != 'true'
shell: bash
run: |
bash ${{ github.workspace }}/geant4/bin/geant4-config --install-datasets
bash ${{ github.workspace }}/geant4/bin/geant4-config --check-datasets
mv ${{ github.workspace }}/geant4/share/Geant4/data ${{ github.workspace }}/geant4-data
# in windows, list the contents of the directory
ls ${{ env.Geant4_DIR }}
ls ${{ env.Geant4_DIR }}/bin
ls ${{ env.Geant4_DIR }}/share/Geant4/data
bash ${{ env.Geant4_DIR }}/bin/geant4-config --install-datasets
bash ${{ env.Geant4_DIR }}/bin/geant4-config --check-datasets
mv ${{ env.Geant4_DIR }}/share/Geant4/data ${{ github.workspace }}/geant4-data
build-test:
name:
Expand Down Expand Up @@ -162,7 +167,7 @@ jobs:
id: cache-geant4
uses: actions/cache@v4
with:
path: ${{ github.workspace }}/geant4
path: ${{ env.Geant4_DIR }}
key: geant4-v${{ env.GEANT4_VERSION }}-cpp${{ env.CPP_STANDARD }}
fail-on-cache-miss: true

Expand Down

0 comments on commit f9c812d

Please sign in to comment.