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: |