Closed
Description
Came across this issue when running dpb587/gget
in GitHub actions.
Error log:
panic: downloading delegatebot-0.9.0-linux-amd64: processing step 2: renaming: rename /tmp/gget-tmpfile-168433803 delegatebot: invalid cross-device link
goroutine 37 [running]:
github.com/dpb587/gget/cmd/gget.(*Command).Execute.func2(0xc00000e230, 0xc0001d6eb0, 0xa02260, 0xc000094020)
/root/cmd/gget/command.go:248 +0x243
created by github.com/dpb587/gget/cmd/gget.(*Command).Execute
/root/cmd/gget/command.go:241 +0x1193
It seems that the use of os.Rename()
is the problem, see relevant code.
Metadata
Metadata
Assignees
Labels
No labels