Skip to content

NotSupportedArchiveFileExtension,Expand-Archive #110

@lysShub

Description

@lysShub

Describe the problem

runner log

Getting protoc version: v23.4
Downloading archive: https://github.com/protocolbuffers/protobuf/releases/download/v23.4/protoc-23.4-win64.zip
[command]C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoLogo -Sta -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command "$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ; if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath 'C:\Users\lyss\.cache\act\9945b4ec766093a4\tmp\81f75068-d957-475e-99e8-e1d7e0924bc8' -DestinationPath 'C:\Users\lyss\.cache\act\9945b4ec766093a4\tmp\3d5d136c-15b3-4b8f-9dcf-bf7bd216f82a' -Force } else {[System.IO.Compression.ZipFile]::ExtractToDirectory('C:\Users\lyss\.cache\act\9945b4ec766093a4\tmp\81f75068-d957-475e-99e8-e1d7e0924bc8', 'C:\Users\lyss\.cache\act\9945b4ec766093a4\tmp\3d5d136c-15b3-4b8f-9dcf-bf7bd216f82a', $true) }"
Expand-Archive :  ?֧?ֵĴ浵?ļ?ʽ?ֻ? .zip ?֧?ֵĴ浵?ļ?ʽ?
?λ? ?:1 ?ַ?: 210
+ ...  Ignore)) { Expand-Archive -LiteralPath 'C:\Users\lyss\.cache\act\994 ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:String) [Expand-Archive]?IOException
    + FullyQualifiedErrorId : NotSupportedArchiveFileExtension,Expand-Archive
 
::error::Error: The process 'C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe' failed with exit code 1
  ❌  Failure - Main setup-protoc
exit status 1

To reproduce

self-host runner at windows

Expected behavior

'arduino/setup-protoc' version

3.0

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest version
  • My report contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions