Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowbean committed Sep 21, 2024
1 parent c0656e7 commit 12c1aa5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 12c1aa5

Please # to comment.