Skip to content

Commit

Permalink
GHA: update windows script
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
  • Loading branch information
miurahr committed Sep 21, 2020
1 parent 0d0ebcb commit 46f8fe8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/run-tox-tests.yml
Expand Up @@ -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: |
Expand Down

0 comments on commit 46f8fe8

Please sign in to comment.