Skip to content

Commit c480d3f

Browse files
committed
make the run posix compatible for the container
1 parent dc965ac commit c480d3f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/linux-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ jobs:
6969
- name: Determine Artifact Name
7070
id: artifact
7171
run: |
72-
if [[ "${{ inputs.platform }}" == "linux" && "${{ inputs.arch }}" == "x64" ]]; then
73-
echo "zip_name=highs-v1.12.0-linux-x64.zip" >> $GITHUB_OUTPUT
72+
if [ "${{ inputs.platform }}" = "linux" ] && [ "${{ inputs.arch }}" = "x64" ]; then
73+
echo "zip_name=highs-v1.12.0-linux-x64.zip" >> "$GITHUB_OUTPUT"
7474
else
75-
echo "Error: Unsupported Platform/Arch combination: ${{ inputs.platform }} ${{ inputs.arch }}"
76-
exit 1
75+
echo "Error: Unsupported Platform/Arch combination: ${{ inputs.platform }} ${{ inputs.arch }}"
76+
exit 1
7777
fi
7878
7979
- name: Download HiGHS Artifact

0 commit comments

Comments
 (0)