diff --git a/.github/workflows/build_centos7.yml b/.github/workflows/build_centos7.yml index d27d29175..a1f9f625f 100644 --- a/.github/workflows/build_centos7.yml +++ b/.github/workflows/build_centos7.yml @@ -212,12 +212,12 @@ jobs: name: Single file .tar.gz creation uses: ./.github/workflows/single-file-creation-tgz with: - antares-xpansion-version: ${{steps.antares-xpansion-version.outputs.result}} + antares-xpansion-version: ${{needs.versions.outputs.antares-xpansion-version}} - name: Installer .tar.gz creation run: | cd _build - export FILE_NAME="antaresXpansion-${{steps.antares-xpansion-version.outputs.result}}-CentOS-7.9.2009" + export FILE_NAME="antaresXpansion-${{needs.versions.outputs.antares-xpansion-version}}-CentOS-7.9.2009" cpack -G TGZ -D CPACK_PACKAGE_FILE_NAME=$FILE_NAME #Need to differentiate between xpress/no_xpress files #Cpack command line doesn't seem to care about -P or -R options diff --git a/.github/workflows/build_windows.yml b/.github/workflows/build_windows.yml index cef9fb7c5..05c1e180a 100644 --- a/.github/workflows/build_windows.yml +++ b/.github/workflows/build_windows.yml @@ -83,6 +83,12 @@ jobs: with: path: 'antares-version.json' key: 'antares_deps_version' + - name: Read antares-xpansion version + id: antares-xpansion-version + uses: ./.github/actions/read-json-value + with: + path: 'antares-version.json' + key: 'antares_xpansion_version' - name: vcpkg install shell: bash