Something with the globing seems not work but not sure exactly. Now using a simple way of ensure that the target folder never exists when calling mv so that it behaves as a rename instead of a move into. The folder still needs to be created first so that parent folders (in case of a custom cache path) are created.
Added a .gitignore
Only run on push/pr on main branch to avoid duplicate builds and overuse of macos-runners.
Follow up for #132
Something with the globing seems not work but not sure exactly. Now using a simple way of ensure that the target folder never exists when calling
mv
so that it behaves as a rename instead of a move into. The folder still needs to be created first so that parent folders (in case of a custom cache path) are created.Added a .gitignore
Only run on push/pr on main branch to avoid duplicate builds and overuse of macos-runners.