Skip to content

Commit

Permalink
.github (Windows): Cache libvncserver build result
Browse files Browse the repository at this point in the history
  • Loading branch information
norihiro committed Jan 2, 2024
1 parent bcd7db7 commit 5d354ee
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -288,13 +288,28 @@ jobs:
obs: ${{ matrix.obs }}
qt: ${{ env.qt }}

- name: Restore libvncserver cache
id: libvncserver-cache
uses: actions/cache/restore@v3
with:
path: ${{ env.LIBVNCPath }}
key: libvncserver-${{ hashFiles('ci/windows/install-libvncserver.sh') }}

- name: Build libvncserver
if: steps.libvncserver-cache.outputs.cache-hit != 'true'
shell: bash
run: ci/windows/install-libvncserver.sh
env:
CMakeOptA: x64
build_config: RelWithDebInfo

- name: Cache libvncserver
if: steps.libvncserver-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@v3
with:
path: ${{ env.LIBVNCPath }}
key: libvncserver-${{ hashFiles('ci/windows/install-libvncserver.sh') }}

- name: Build plugin
run: |
$CmakeArgs = @(
Expand Down

0 comments on commit 5d354ee

Please sign in to comment.