diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 8dc73f9..442cc7c 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -76,9 +76,14 @@ jobs: run: | mkdir dist cabal install Hastructure --install-method=copy --overwrite-policy=always --installdir=dist - - - name: Set binary path name on windows - run: echo "BINARY_PATH=./dist/Hastructure-exe" >> $GITHUB_ENV + + - if: matrix.os == 'windows-latest' + name: Set binary path name on windows + run: echo "BINARY_PATH=./dist/Hastructure.exe.exe" >> $GITHUB_ENV + + - if: matrix.os != 'windows-latest' + name: Set binary path name on non-windows + run: echo "BINARY_PATH=./dist/Hastructure.exe" >> $GITHUB_ENV - name: Load Release URL File from release job uses: actions/download-artifact@v4