From 46f8fe8582d0a7ff3cd00b6e678373d3dd017d4c Mon Sep 17 00:00:00 2001 From: Hiroshi Miura Date: Mon, 21 Sep 2020 14:16:58 +0900 Subject: [PATCH] GHA: update windows script Signed-off-by: Hiroshi Miura --- .github/workflows/run-tox-tests.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-tox-tests.yml b/.github/workflows/run-tox-tests.yml index 01b4f9fe..975f869a 100644 --- a/.github/workflows/run-tox-tests.yml +++ b/.github/workflows/run-tox-tests.yml @@ -26,8 +26,11 @@ jobs: - name: Install C library(Windows) if: runner.os == 'Windows' run: | - wget https://libarchive.org/downloads/libarchive-v3.4.3-win64.zip - unzip libarchive-v3.4.3-win64.zip + $url = "https://libarchive.org/downloads/libarchive-v3.4.3-win64.zip" + $file = "libarchive-v3.4.3-win64.zip" + (New-Object System.Net.WebClient).DownloadFile($url, $file) + Expand-Archive -LiteralPath libarchive-v3.4.3-win64.zip -DestinationPath libarchive + Get-ChildItem -Filter "archive.dll" -Recurse -File echo ("::set-env name=LIBARCHIVE::" + $env:GITHUB_WORKSPACE + "/libarchive/bin/archive.dll") - name: Install dependencies run: |