Skip to content

Update @actions/toolkit core packages to mitigate bug in moving Kind

Pre-release
Pre-release

Choose a tag to compare

@radu-matei radu-matei released this 22 May 00:35

This release addresses #21, which reported errors in moving the Kind binary from the temporary download directory in the /home/runner/bin directory, issue likely caused by the two directories no longer being mounted on the same filesystem:

EXDEV: cross-device link not permitted, rename '/home/runner/work/_temp/174cfcc2-60fa-4457-beaa-ccc15123e9e8' -> '/home/runner/bin/kind'

The man page for rename:

EXDEV  oldpath and newpath are not on the same mounted filesystem.
       (Linux permits a filesystem to be mounted at multiple points,
       but rename() does not work across different mount points, even
       if the same filesystem is mounted on both.)

Updating the @actions/toolkit packages mitigated the issue, and now the kind binary is moved under a default location, and depending on the version, the binary can be found in:

/opt/hostedtoolcache/kind/0.7.0/x64/kind

Thanks to @ryanzhang-oss for reporting the issue.