checkout: Duplicate name in working directory during checkout
Hello. I’m having some troubles using actions/checkout@v2 on a self-hosted runner. Here’s the current yaml file:
name: Test Pipeline
on:
push:
branches:
- '**'
jobs:
RunUnitTests:
runs-on: self-hosted
steps:
- name: Checkout Repo
uses: actions/checkout@v2
Workflow logs:
Run actions/checkout@v2
with:
repository: org/test-ui
token: ***
ssh-strict: true
persist-credentials: true
clean: true
fetch-depth: 1
lfs: false
submodules: false
Error: An error occurred trying to start process '/home/runner/externals/node12/bin/node' with working directory '/home/runner/_work/test-ui/test-ui'. No such file or directory
The name “test-ui” is duplicated on the working directory. I’d like to know what could’ve caused this issue (is it possible that the runner is interfering?), and what steps can I take to resolve it. Thanks in advance.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 24
I just experienced this issue as well in the
Buildstep below but was able to get around it by explicitly specifying myworking_directory.i solved this by making the actions/checkout the first step of the job
hi… run scrips…
I had this issue today. I tried to move the step to the first but it doesnt worked for me. The repo name is still duplicated in the environment variable.
Huh, that actually does it. Thank you.
Same, and I’m running on
ubuntu-latest