Browse Source

Use version starting with v.

Ian Walton 3 years ago
parent
commit
094839f0c4
1 changed files with 1 additions and 6 deletions
  1. 1 6
      .github/workflows/main.yml

+ 1 - 6
.github/workflows/main.yml

@@ -57,11 +57,6 @@ jobs:
     runs-on: ${{ matrix.os }}
     steps:
     - uses: actions/checkout@v2
-    - name: Test
-      run: |
-        ls "/c/Program Files (x86)/Microsoft Visual Studio/2019/"*"/VC/Redist/MSVC/"*
-        exit 1
-      shell: bash
     - name: Install Qt ${{ matrix.qt }}
       uses: jurplel/install-qt-action@v2
       with:
@@ -71,7 +66,7 @@ jobs:
     - name: Install dependencies
       run: |
         ./download_webclient.sh
-        sed -i 's#Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Redist\\MSVC\\v142\\#'"$(ls -d "/c/Program Files (x86)/Microsoft Visual Studio/2019/"*"/VC/Redist/MSVC/"* | head -n 1 | sed 's#/c/##g' | tr '/' '\\' | sed 's/\\/\\\\/g')\\\\#g" bundle/win/Bundle.wxs
+        sed -i 's#Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Redist\\MSVC\\v142\\#'"$(ls -d "/c/Program Files (x86)/Microsoft Visual Studio/2019/"*"/VC/Redist/MSVC/v"* | head -n 1 | sed 's#/c/##g' | tr '/' '\\' | sed 's/\\/\\\\/g')\\\\#g" bundle/win/Bundle.wxs
         curl -L https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-win.zip > ninja.zip
         unzip ninja.zip
         mv ninja.exe build/