Bzomak / oolite-msys2

Builds oolite from scratch
0 stars 0 forks source link

PDF documentation is not cached #64

Open Bzomak opened 7 months ago

Bzomak commented 7 months ago

The PDFs are generated every time the workflow is run. Ideally we would cache the generated pdfs and only regenerate them if the .odt files have changed. As it runs on ubuntu-latest we would set enableCrossOsArchive to true in the cache action. The cache key should include the hash of oolite/Doc/ and the hash of this workflow file. Unfortunately I cannot get the hash of either the oolite/Doc/ folder or the .odt files to match on both Ubuntu and Windows runners. I suspect that the line endings are different on the two systems, but have failed to find a way to fix this.