Author: dsahlberg Date: Sun Jul 6 18:45:47 2025 New Revision: 1927011 URL: http://svn.apache.org/viewvc?rev=1927011&view=rev Log: Try to save vcpkg's installed folder to speed up following runs.
Suggested by: gstein https://lists.apache.org/thread/l8vorrc55gjd6whhh2659bgb3925mz01 (Sent to private@, but I'll add the link anyway since it doesn't really contain any private info). Modified: serf/trunk/.github/workflows/windows-cmake.yml Modified: serf/trunk/.github/workflows/windows-cmake.yml URL: http://svn.apache.org/viewvc/serf/trunk/.github/workflows/windows-cmake.yml?rev=1927011&r1=1927010&r2=1927011&view=diff ============================================================================== --- serf/trunk/.github/workflows/windows-cmake.yml (original) +++ serf/trunk/.github/workflows/windows-cmake.yml Sun Jul 6 18:45:47 2025 @@ -39,9 +39,21 @@ jobs: core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || ''); core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || ''); + - name: Restore vcpkg/installed from stash + uses: infrastructure-actions/stash/restore@v1 + with: + key: 'vcpkg_installed_${{ matrix.triplet }}' + path: 'C:/vcpkg/installed/' + - name: Install dependencies run: vcpkg install --triplet ${{ matrix.triplet }} apr apr-util zlib openssl brotli + - name: Save vcpkg/installed to stash for next run + uses: infrastructure-actions/stash/save@v1 + with: + key: 'vcpkg_installed_${{ matrix.triplet }}' + path: 'C:/vcpkg/installed/' + - uses: actions/checkout@v3 - name: Configure CMake