Skip to content

Commit 3e36f9f

Browse files
committed
Generalize scripts for Geant4 11.0
The archive is now called geant4-v11.0.0 instead of geant4.10.07.p03.
1 parent cf8eddd commit 3e36f9f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
env:
1212
GEANT4_VERSION: "${{ github.event.inputs.version }}"
13-
GEANT4_ARCHIVE: "geant4.${{ github.event.inputs.version }}-binaries.tar.gz"
13+
GEANT4_ARCHIVE: "${{ github.event.inputs.version }}-binaries.tar.gz"
1414
steps:
1515
- name: Check out repository code
1616
uses: actions/checkout@v2

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if [ -z "$GEANT4_VERSION" ]; then
88
fi
99

1010
# Download the source code.
11-
dir="geant4.$GEANT4_VERSION"
11+
dir="$GEANT4_VERSION"
1212
archive="$dir.tar.gz"
1313
url="https://geant4-data.web.cern.ch/releases/$archive"
1414
wget "$url"

0 commit comments

Comments
 (0)