From 44e8770b7319b2abc0de320e798cb86b23a772dc Mon Sep 17 00:00:00 2001 From: Alexey Date: Mon, 17 Feb 2020 22:08:09 +0300 Subject: [PATCH] ci: fix `windows-prebuilt` job --- .github/workflows/ci.yml | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 202b09530f..5c0a73d33a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -165,26 +165,18 @@ jobs: runs-on: windows-2019 steps: - name: Download V - shell: bash + shell: cmd run: | - echo "Downloading v.exe..." - curl -L https://github.com/vbinaries/vbinaries/releases/download/latest/v_windows.zip -o v_windows.zip - echo "Unzipping..." + echo Downloading V... + curl -L https://github.com/vlang/v/releases/latest/download/v_windows.zip -o v_windows.zip + echo Unzipping... unzip v_windows.zip - echo "version:" - ./v.exe --version - echo "Done" - ls + v.exe --version + echo Done + dir - name: Test V - shell: bash - run: | - echo "ls:" - ls - echo "ls examples/:" - ls examples - .\v.exe -o hi.exe examples/hello_world.v - .\hi.exe - #./v.exe -silent build-examples + shell: cmd + run: v.exe examples\hello_world.v && examples\hello_world.exe ubuntu-musl: runs-on: ubuntu-18.04