Skip to content

Commit

Permalink
wget isn't on the path in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
aryairani committed Mar 19, 2024
1 parent ab4cc55 commit 145aeaf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,13 @@ jobs:
mkdir -p /tmp/ucm/ui # we need /tmp/ucm on the next line and /tmp/ucm/ui further down
if [[ ${{runner.os}} = 'Windows' ]]; then
cp $(stack exec -- where unison) /tmp/ucm/ucm.exe
wget="C:/msys64/usr/bin/wget.exe"
else
cp $(stack exec -- which unison) /tmp/ucm/ucm
wget="wget"
fi
wget -O/tmp/unisonLocal.zip https://github.com/unisonweb/unison-local-ui/releases/download/latest/unisonLocal.zip
$wget -O/tmp/unisonLocal.zip https://github.com/unisonweb/unison-local-ui/releases/download/latest/unisonLocal.zip
unzip -d /tmp/ucm/ui /tmp/unisonLocal.zip
if [[ ${{runner.os}} = 'Windows' ]]; then
Expand Down

0 comments on commit 145aeaf

Please sign in to comment.