diff --git a/.github/actions/setup-swig/action.yml b/.github/actions/setup-swig/action.yml index 6a494dc5c6..0eb8a04473 100644 --- a/.github/actions/setup-swig/action.yml +++ b/.github/actions/setup-swig/action.yml @@ -16,5 +16,5 @@ runs: run: scripts/downloadAndBuildSwig.sh shell: bash - - run: echo "SWIG=${AMICI_DIR}/ThirdParty/swig-${INPUT_SWIG_VERSION}/install/bin/swig" >> $GITHUB_ENV + - run: echo "SWIG=${AMICI_DIR}/ThirdParty/swig-${{ inputs.swig_version }}/install/bin/swig" >> $GITHUB_ENV shell: bash diff --git a/.github/workflows/deploy_branch.yml b/.github/workflows/deploy_branch.yml index 9d24c3d330..73294286a1 100644 --- a/.github/workflows/deploy_branch.yml +++ b/.github/workflows/deploy_branch.yml @@ -21,7 +21,8 @@ jobs: with: fetch-depth: 20 - - uses: ./.github/actions/setup-swig + - name: Set up SWIG + uses: ./.github/actions/setup-swig - run: echo "AMICI_DIR=$(pwd)" >> $GITHUB_ENV diff --git a/.github/workflows/deploy_release.yml b/.github/workflows/deploy_release.yml index 9d11f950b7..001d0328bf 100644 --- a/.github/workflows/deploy_release.yml +++ b/.github/workflows/deploy_release.yml @@ -24,7 +24,8 @@ jobs: with: fetch-depth: 20 - - uses: ./.github/actions/setup-swig + - name: Set up SWIG + uses: ./.github/actions/setup-swig - run: echo "AMICI_DIR=$(pwd)" >> $GITHUB_ENV