mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
fix: extract Windows release ZIPs in CI
This commit is contained in:
parent
31d4ed5860
commit
bfb004d441
1 changed files with 8 additions and 1 deletions
9
.github/workflows/build-binaries.yml
vendored
9
.github/workflows/build-binaries.yml
vendored
|
|
@ -182,7 +182,14 @@ jobs:
|
|||
esac
|
||||
|
||||
mkdir -p extracted
|
||||
tar -xf "${archive}" -C extracted
|
||||
if [[ "${archive}" == *.zip ]]; then
|
||||
export ARCHIVE_PATH="$(cygpath -w "${archive}")"
|
||||
export DESTINATION_PATH="$(cygpath -w extracted)"
|
||||
powershell.exe -NoProfile -NonInteractive -Command \
|
||||
'Expand-Archive -LiteralPath $env:ARCHIVE_PATH -DestinationPath $env:DESTINATION_PATH -Force'
|
||||
else
|
||||
tar -xf "${archive}" -C extracted
|
||||
fi
|
||||
echo "root=${root}" >> "${GITHUB_OUTPUT}"
|
||||
echo "binary=${binary}" >> "${GITHUB_OUTPUT}"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue