From 05b46d2cdf14f65dbadf6b328432a5f0cc75b1c5 Mon Sep 17 00:00:00 2001 From: apetrynet Date: Sat, 4 Nov 2023 01:40:49 +0100 Subject: [PATCH] if test hopefully following powershell syntax Signed-off-by: apetrynet --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index edabb6e..732ff6a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -38,9 +38,9 @@ jobs: - name: Check LongPathsEnabled run: | - if [[ "${{ matrix.os }}" == "windows-latest" ]]; then + if ( "${{ matrix.os }}" == "windows-latest" ) { (Get-ItemProperty "HKLM:System\CurrentControlSet\Control\FileSystem").LongPathsEnabled - fi + } shell: pwsh - name: Install dependencies