File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -141,8 +141,13 @@ func run(cmd *cobra.Command, argv []string) error {
141141
142142 commands := []string {
143143 "tar -zxf /opt/runner-cache/actions-runner-linux-*.tar.gz" ,
144- "sudo chown 1000:1000 -R /etc/skel/*" ,
145- "mv /etc/skel/* /home/ubuntu/" ,
144+ "rm -rf \\ $HOME" ,
145+ "sudo chown -R 1000:1000 /etc/skel/" ,
146+ "mv /etc/skel/.cargo /home/ubuntu/" ,
147+ "mv /etc/skel/.nvm /home/ubuntu/" ,
148+ "mv /etc/skel/.rustup /home/ubuntu/" ,
149+ "mv /etc/skel/.dotnet /home/ubuntu/" ,
150+ "mv /etc/skel/.composer /home/ubuntu/" ,
146151 `sudo usermod -aG docker ubuntu && newgrp docker <<EOF
147152export PATH=$PATH:/home/ubuntu/.local/bin && export HOME=/home/ubuntu && bash -x /home/ubuntu/run.sh --jitconfig "${ACTIONS_RUNNER_INPUT_JITCONFIG}"
148153EOF` ,
You can’t perform that action at this time.
0 commit comments