Skip to content

Commit

Permalink
Generalize scripts for Geant4 11.0
Browse files Browse the repository at this point in the history
The archive is now called geant4-v11.0.0 instead of geant4.10.07.p03.
  • Loading branch information
hahnjo committed Dec 13, 2021
1 parent cf8eddd commit 3e36f9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
env:
GEANT4_VERSION: "${{ github.event.inputs.version }}"
GEANT4_ARCHIVE: "geant4.${{ github.event.inputs.version }}-binaries.tar.gz"
GEANT4_ARCHIVE: "${{ github.event.inputs.version }}-binaries.tar.gz"
steps:
- name: Check out repository code
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [ -z "$GEANT4_VERSION" ]; then
fi

# Download the source code.
dir="geant4.$GEANT4_VERSION"
dir="$GEANT4_VERSION"
archive="$dir.tar.gz"
url="https://geant4-data.web.cern.ch/releases/$archive"
wget "$url"
Expand Down

0 comments on commit 3e36f9f

Please sign in to comment.