Local 'shell' runner on windows started to fail due to error in GL build scrpt

Hello. I have a local runner on windows, type is ‘shell’. It was working ok previously, at least several days ago. Now when I did push to repo, the build job fails consistently. Looks like an error in build script:

git-lfs/3.0.2 (GitHub; windows amd64; go 1.17.2)
Updating/initializing submodules recursively with git depth set to 300...
git-lfs/3.0.2 (GitHub; windows amd64; go 1.17.2)
Restoring cache
Version: 14.5.2
Git revision: e91107dd
Git branch: 14-5-stable
GO version: go1.13.8
Built: 2021-12-10T17:03:31+0000
OS/Arch: windows/amd64
Checking cache for default...
Runtime platform arch=amd64 os=windows pid=13620 revision=e91107dd version=14.5.2
No URL provided, cache will not be downloaded from shared cache server. Instead a local version of cache will be extracted.
Successfully extracted cache
Executing "step_script" stage of the job script

ParserError: C:\Windows\TEMP\build_script782053519\script.ps1:233
Line |
 233 | if ! command -v ./zip &> /dev/null ; then apt-get update ; apt-get in .
        | ~
        | Missing '(' after 'if' in if statement.
Cleaning up project directory and file based variables00:01
ERROR: Job failed: exit status 1

I didn’t change anything since builds were working ok, except that my windows had it’s automatic update and a single reboot. Will appreciate any help.