Replies: 1 comment
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
I have a git workflow which I am trying to run on a newly created windows virtual machine. But while running, the actions/checkout@V2 step is throwing the below error:
Below is the workflow file:
Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
inputs:
tag:
description: 'Which tag(@test)'
required: true
default: "@test"
A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
This workflow contains a single job called "build"
test:
# The type of runner that the job will run on
runs-on: [ test ]
timeout-minutes: 10080
On running the above flow the actions/checkout@v2 is throwing the below error:
Extracting the archive
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 { } ; [System.IO.Compression.ZipFile]::ExtractToDirectory('C:\actions-runner_work\pp\pp\a540ef8f-8886-4feb-9aac-b4266b8090f0.tar.gz', 'C:\actions-runner_work\pp\pp\a540ef8f-8886-4feb-9aac-b4266b8090f0')"
Exception calling "ExtractToDirectory" with "2" argument(s): "The specified path, file name, or both are too long. The
fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters."
At line:1 char:111
Error: The process 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe' failed with exit code 1.
Note: I have tried by installing the Git on VM, but still it fails.
Beta Was this translation helpful? Give feedback.
All reactions