Skip to content

Cannot restore linux cache with on windows with enableCrossOsArchive #1072

Closed
@maybeec

Description

Related to #984, I am facing an issue with caches created on linux and trying to restore them on windows. Please see the used workflow definition and as part of that the devonfw-actions/java-maven-setup@main version used at runtime.

Saving Log on Linux:
image

Restore Log on Windows:
image

The cache can be found by gh cli:
image

I would be happy for any helpful ideas forward. For sure the workaround is to rebuild everything on windows as well and cache it separately by putting the OS name into the cache key. Nonetheless, it's not sustainable to run the build all the time twice and even would lead to the fact, that eventually I will not be able to test artifacts built on linux on a different OS.

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions