Skip to content

Commit

Permalink
Fix missing version number in assets (#849)
Browse files Browse the repository at this point in the history
Xpansion version number was missing from some assets:
- Both CentOS assets
- Single file Windows asset
  • Loading branch information
JasonMarechal25 authored Jun 18, 2024
1 parent b4020a0 commit 16aa8d6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_centos7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 16aa8d6

Please sign in to comment.