From 6807ee5f79408c6c79c31e37d246d7a234fecf24 Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Thu, 7 Mar 2024 21:13:00 +0100 Subject: [PATCH] install inkscape using same cache as OpenCppCoverage Signed-off-by: Matthieu Gallien --- .github/workflows/windows-build-and-test.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/windows-build-and-test.yml b/.github/workflows/windows-build-and-test.yml index 4e458ddfee225..7cc584f533e59 100644 --- a/.github/workflows/windows-build-and-test.yml +++ b/.github/workflows/windows-build-and-test.yml @@ -32,7 +32,6 @@ jobs: craft --add-blueprint-repository [git]https://github.com/nextcloud/desktop-client-blueprints.git craft craft craft --install-deps nextcloud-client - choco install inkscape - name: Cache Install OpenCppCoverage id: cache-install-opencppcoverage @@ -47,6 +46,19 @@ jobs: run: | choco install opencppcoverage + - name: Cache Install inkscape + id: cache-install-inkscape + uses: actions/cache@v4 + with: + path: C:\Program Files\inkscape + key: ${{ runner.os }}-cache-install-inkscape + + - name: Install inkscape + if: steps.cache-install-inkscape.outputs.cache-hit != 'true' + shell: pwsh + run: | + choco install inkscape + - name: Setup PATH shell: pwsh run: |