From 12c1aa5870355a6021edbd6639ffc761db1f8f33 Mon Sep 17 00:00:00 2001 From: Shawn Zhang Date: Sat, 21 Sep 2024 20:19:12 +0800 Subject: [PATCH] Update docker-image.yml --- .github/workflows/docker-image.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index b25b678..2c68b67 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -78,11 +78,12 @@ jobs: cabal install Hastructure --install-method=copy --overwrite-policy=always --installdir=dist - if: matrix.os == 'windows-latest' - name: Set extension to .exe on Windows - run: echo "name=EXT::.exe" >> $GITHUB_ENV + name: Set binary path name on windows + run: echo "BINARY_PATH=./dist/Hastructure.exe" >> $GITHUB_ENV - - name: Set binary path name - run: echo "name=BINARY_PATH::./dist/Hastructure${{ env.EXT }}" >> $GITHUB_ENV + - if: matrix.os != 'windows-latest' + name: Set binary path name on windows + run: echo "BINARY_PATH=./dist/Hastructure" >> $GITHUB_ENV - name: Load Release URL File from release job uses: actions/download-artifact@v4