diff --git a/.github/workflows/build-chat.yml b/.github/workflows/build-chat.yml index 4c9ef73a..20739b5e 100644 --- a/.github/workflows/build-chat.yml +++ b/.github/workflows/build-chat.yml @@ -4,9 +4,6 @@ on: jobs: build-chat-windows: runs-on: windows-latest - defaults: - run: - shell: powershell -noe -c "&{Import-Module """C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"""; Enter-VsDevShell eb4dc59a}"; {0} steps: - name: Checkout uses: actions/checkout@v3 @@ -19,7 +16,7 @@ jobs: with: path: C:\VulkanSDK key: ${{ runner.os }}-build-vulkan-${{ hashFiles('C:\VulkanSDK\**') }} - restore_keys: | + restore-keys: | ${{ runner.os }}-build-vulkan- - if: ${{ steps.cache_vulkan.outputs.cache-hit != 'true' }} name: Install Vulkan @@ -38,7 +35,7 @@ jobs: with: path: C:\Qt key: ${{ runner.os }}-build-qt-${{ hashFiles('C:\Qt\**') }} - restore_keys: | + restore-keys: | ${{ runner.os }}-build-qt- - if: ${{ steps.cache_qt.outputs.cache-hit != 'true' }} name: Install QT @@ -50,6 +47,7 @@ jobs: & .\qt-unified-windows-x64-4.6.0-online.exe --no-force-installations --no-default-installations --no-size-checking --default-answer --accept-licenses --confirm-command --accept-obligations --email $Env:QT_EMAIL --password $Env:QT_PASSWORD install qt.tools.cmake qt.tools.ifw.47 qt.tools.ninja qt.qt6.651.win64_msvc2019_64 qt.qt6.651.qt5compat qt.qt6.651.debug_info qt.qt6.651.addons.qtpdf qt.qt6.651.addons.qthttpserver echo "Qt6_DIR=C:/Qt/6.5.1/msvc2019_64" >> $Env:GITHUB_ENV - name: Build Chat + shell: powershell -noe -c "&{Import-Module """C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"""; Enter-VsDevShell eb4dc59a}"; {0} run: | cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DKOMPUTE_OPT_DISABLE_VULKAN_VERSION_CHECK=ON -S gpt4all-chat -B build ninja -C build @@ -72,7 +70,7 @@ jobs: with: path: "~/Qt" key: ${{ runner.os }}-build-qt-${{ hashFiles('~/Qt/**') }} - restore_keys: | + restore-keys: | ${{ runner.os }}-build-qt- - if: ${{ steps.cache_qt.outputs.cache-hit != 'true' }} name: Install QT @@ -111,7 +109,7 @@ jobs: with: path: "/Qt" key: ${{ runner.os }}-build-qt-${{ hashFiles('/Qt/**') }} - restore_keys: | + restore-keys: | ${{ runner.os }}-build-qt- - if: ${{ steps.cache_qt.outputs.cache-hit != 'true' }} name: Install QT