From 8aaf9931639a997f30b8f7e7c1ad73c057a22491 Mon Sep 17 00:00:00 2001 From: CrSjimo Date: Tue, 1 Oct 2024 21:29:12 +0800 Subject: [PATCH] update github actions workflow --- .github/actions/init-build/action.yml | 4 +++- .github/workflows/generate-bundles-and-release.yml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/actions/init-build/action.yml b/.github/actions/init-build/action.yml index e3aab59..cd04472 100644 --- a/.github/actions/init-build/action.yml +++ b/.github/actions/init-build/action.yml @@ -61,11 +61,12 @@ runs: uses: actions/cache/restore@v4 with: path: ${{ github.workspace }}/vcpkg - key: ${{ runner.os }}-vcpkg-${{ hashFiles('**/vcpkg.json') }} + key: ${{ runner.os }}-vcpkg-${{ hashFiles('scripts/vcpkg-manifest/vcpkg.json', 'scripts/vcpkg/**') }} restore-keys: | ${{ runner.os }}-vcpkg- - name: Install vcpkg dependencies + if: steps.cache_vcpkg.outputs.cache-hit != 'true' shell: pwsh run: | if (!(Test-Path vcpkg)) { @@ -97,6 +98,7 @@ runs: } - name: Save vcpkg to cache + if: steps.cache_vcpkg.outputs.cache-hit != 'true' uses: actions/cache/save@v4 with: path: ${{ github.workspace }}/vcpkg diff --git a/.github/workflows/generate-bundles-and-release.yml b/.github/workflows/generate-bundles-and-release.yml index 4029121..f15a38a 100644 --- a/.github/workflows/generate-bundles-and-release.yml +++ b/.github/workflows/generate-bundles-and-release.yml @@ -63,6 +63,7 @@ jobs: -DCK_WIN_APPLOCAL_DEPS:BOOL=TRUE ` -DTALCS_DEVICE_ENABLE_ASIO:BOOL=ON ` -DTALCS_ASIOSDK_DIR=${{ env.ASIOSDK_DIR }} ` + -DTALCS_REMOTE:BOOL=ON ` -DTALCS_DSPX:BOOL=ON ` -DCMAKE_INSTALL_PREFIX=installed cmake --build build --target all