diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cae18da..f31c68b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/build.sh b/build.sh index c079760..6a00e33 100755 --- a/build.sh +++ b/build.sh @@ -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"