Open fengwang opened 1 year ago
Same issue here (also on a self-hosted runner)!
To avoid this issue, here is the step I've added before the actions/checkout
:
- name: Initialize LFS
run: |
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
sudo apt-get install git-lfs
To avoid this issue, here is the step I've added before the
actions/checkout
:- name: Initialize LFS run: | curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash sudo apt-get install git-lfs
How does that even work? The self-runner I'm using on Linux doesn't have sudo
installed. And it appears stuff doesn't run as root so you can't call apt-get
directly. How'd that work for you @jbelien ?
Steps to reproduce
.github/workflows
includingI encountered build error with message
The
cleanup
step produces information like this:The checkout step produces error information
Note:
XXXXXXX
andxxxxxx
are sensitive information get maskedgit-lfs
is already installed and configured in the host system (ArchLinux/Ubuntu 1804)