From e4892569a308affd8be82829f510a8fe7ad998e4 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 29 Aug 2025 14:12:49 +0200 Subject: [PATCH] test 3 --- .github/workflows/windows.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index f84a41483b..07a8b9e6bc 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -55,6 +55,9 @@ jobs: matrix: image: [windows-2022, windows-11-arm] steps: + - name: 'perl version' + run: perl --version | tee "$GITHUB_WORKSPACE"/perlversion + - name: 'cache perl packages' uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4 id: cache-perl-win32-pkgs @@ -62,7 +65,7 @@ jobs: cache-name: cache-perl-win32-pkgs with: path: C:\perl-win32-pkgs - key: ${{ runner.os }}-${{ runner.arch }}-build-${{ env.cache-name }}-${{ hashFiles('C:/msys64/usr/lib/perl5/core_perl/CORE') }} + key: ${{ runner.os }}-${{ runner.arch }}-build-${{ env.cache-name }}-${{ hashFiles('perlversion') }} - name: 'install build prereqs' if: ${{ steps.cache-perl-win32-pkgs.outputs.cache-hit != 'true' }} @@ -430,6 +433,7 @@ jobs: run: | /usr/bin/pacman --noconfirm --noprogressbar --sync --needed openssh make /c/ProgramData/chocolatey/choco.exe install --yes --no-progress --limit-output --timeout 180 --force stunnel || true + perl --version | tee "$GITHUB_WORKSPACE"/perlversion - name: 'cache perl packages' if: ${{ matrix.tflags != 'skipall' && matrix.tflags != 'skiprun' && matrix.sys != 'msys' }} @@ -439,7 +443,7 @@ jobs: cache-name: cache-perl-win32-pkgs with: path: C:\perl-win32-pkgs - key: ${{ runner.os }}-${{ runner.arch }}-build-${{ env.cache-name }}-${{ hashFiles('C:/msys64/usr/lib/perl5/core_perl/CORE') }} + key: ${{ runner.os }}-${{ runner.arch }}-build-${{ env.cache-name }}-${{ hashFiles('perlversion') }} - name: 'install test prereqs perl' if: ${{ matrix.tflags != 'skipall' && matrix.tflags != 'skiprun' }} @@ -666,6 +670,7 @@ jobs: /usr/bin/pacman --noconfirm --noprogressbar --sync --needed make /c/ProgramData/chocolatey/choco.exe install --yes --no-progress --limit-output --timeout 180 --force stunnel || true python3 -m pip --disable-pip-version-check --no-input --no-cache-dir install --progress-bar off --prefer-binary impacket + perl --version | tee "$GITHUB_WORKSPACE"/perlversion - name: 'cache perl packages' if: ${{ matrix.tflags != 'skipall' && matrix.tflags != 'skiprun' }} @@ -675,7 +680,7 @@ jobs: cache-name: cache-perl-win32-pkgs with: path: C:\perl-win32-pkgs - key: ${{ runner.os }}-${{ runner.arch }}-build-${{ env.cache-name }}-${{ hashFiles('C:/msys64/usr/lib/perl5/core_perl/CORE') }} + key: ${{ runner.os }}-${{ runner.arch }}-build-${{ env.cache-name }}-${{ hashFiles('perlversion') }} - name: 'install test prereqs perl' if: ${{ matrix.tflags != 'skipall' && matrix.tflags != 'skiprun' }} @@ -1064,6 +1069,7 @@ jobs: if [ "${MATRIX_IMAGE}" != 'windows-11-arm' ]; then # save 30-60 seconds, to counteract the slower test run step python3 -m pip --disable-pip-version-check --no-input --no-cache-dir install --progress-bar off --prefer-binary impacket fi + perl --version | tee "$GITHUB_WORKSPACE"/perlversion - name: 'cache perl packages' if: ${{ matrix.tflags != 'skipall' && matrix.tflags != 'skiprun' }} @@ -1073,7 +1079,7 @@ jobs: cache-name: cache-perl-win32-pkgs with: path: C:\perl-win32-pkgs - key: ${{ runner.os }}-${{ runner.arch }}-build-${{ env.cache-name }}-${{ hashFiles('C:/msys64/usr/lib/perl5/core_perl/CORE') }} + key: ${{ runner.os }}-${{ runner.arch }}-build-${{ env.cache-name }}-${{ hashFiles('perlversion') }} - name: 'install test prereqs perl' if: ${{ matrix.tflags != 'skipall' && matrix.tflags != 'skiprun' }}