Skip to content

Commit 07b5881

Browse files
committed
Fix
1 parent 800a97c commit 07b5881

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

.github/workflows/generate-reference.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -78,28 +78,17 @@ jobs:
7878
if: ${{ startsWith(matrix.os, 'windows') }}
7979
run: choco install wget zip unzip --no-progress
8080

81-
- name: Download Antares_Simulator archive (Ubuntu)
82-
if: ${{ startsWith(matrix.os, 'ubuntu') }}
83-
run: |
84-
ANTARES_TAG=${{ github.event.inputs.antares_tag }}
85-
wget https://github.com/AntaresSimulatorTeam/Antares_Simulator/releases/download/${{ github.event.inputs.antares_tag }}/antares-${ANTARES_TAG/v/}-Ubuntu-22.04.tar.gz -O antares_simulator.tar.gz
86-
87-
- name: Download Antares_Simulator archive (Windows)
88-
if: ${{ startsWith(matrix.os, 'windows') }}
89-
run: |
90-
ANTARES_TAG=${{ github.event.inputs.antares_tag }}
91-
wget https://github.com/AntaresSimulatorTeam/Antares_Simulator/releases/download/${{ github.event.inputs.antares_tag }}/antares-solver_windows.zip -O antares_simulator.zip
92-
shell: bash
93-
94-
- name: Unpack Antares_Simulator, clean archive (Ubuntu)
81+
- name: Download, unpack Antares_Simulator, clean archive (Ubuntu)
9582
if: ${{ startsWith(matrix.os, 'ubuntu') }}
9683
run: |
84+
wget https://github.com/AntaresSimulatorTeam/Antares_Simulator/releases/download/${{ github.event.inputs.antares_tag }}/antares-solver_ubuntu22.04.tar.gz -O antares_simulator.tar.gz
9785
tar xf antares_simulator.tar.gz
9886
rm antares_simulator.tar.gz
9987
100-
- name: Unpack Antares_Simulator, clean archive (Windows)
88+
- name: Download, unpack Antares_Simulator, clean archive (Windows)
10189
if: ${{ startsWith(matrix.os, 'windows') }}
10290
run: |
91+
wget https://github.com/AntaresSimulatorTeam/Antares_Simulator/releases/download/${{ github.event.inputs.antares_tag }}/antares-solver_windows.zip -O antares_simulator.zip
10392
unzip -q antares_simulator.zip
10493
rm antares_simulator.zip
10594
@@ -115,7 +104,7 @@ jobs:
115104
if: ${{ startsWith(matrix.os, 'ubuntu') }}
116105
run: |
117106
ANTARES_TAG=${{ github.event.inputs.antares_tag }}
118-
python3 scripts/generate_reference.py ${{ matrix.batch }} antares-${ANTARES_TAG/v/}-Ubuntu-22.04/bin/antares-solver
107+
python3 scripts/generate_reference.py ${{ matrix.batch }} antares-solver
119108
120109
- name: Generate results (Windows)
121110
if: ${{ startsWith(matrix.os, 'windows') }}

0 commit comments

Comments
 (0)