Skip to content

GHA: Restore the OCaml cache for the Windows jobs#6469

Merged
kit-ty-kate merged 1 commit intoocaml:masterfrom
kit-ty-kate:gha-restore-ocaml-cache-windows
Apr 14, 2025
Merged

GHA: Restore the OCaml cache for the Windows jobs#6469
kit-ty-kate merged 1 commit intoocaml:masterfrom
kit-ty-kate:gha-restore-ocaml-cache-windows

Conversation

@kit-ty-kate
Copy link
Copy Markdown
Member

@kit-ty-kate kit-ty-kate commented Apr 9, 2025

This cache was broken during the switch from ocaml-opam/cache to actions/cache@v4 in #6081

This reduces the time the CI takes by at minimum 8 minutes overall.
Tested successfully on my local fork in kit-ty-kate#12. Both cache creation and restoration work fine.

@kit-ty-kate kit-ty-kate added this to the 2.4.0~alpha1 milestone Apr 9, 2025
@kit-ty-kate kit-ty-kate requested a review from dra27 April 9, 2025 20:00
Copy link
Copy Markdown
Member

@dra27 dra27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM modulo a rebase - the underlying issue seems to be the actions/cache stopped accepting a single file argument in path at some point.

This cache was broken during the switch from ocaml-opam/cache to actions/cache@v4
@kit-ty-kate kit-ty-kate force-pushed the gha-restore-ocaml-cache-windows branch from 242c427 to 5e72e96 Compare April 14, 2025 13:04
@kit-ty-kate kit-ty-kate merged commit 72d876c into ocaml:master Apr 14, 2025
44 checks passed
@kit-ty-kate kit-ty-kate deleted the gha-restore-ocaml-cache-windows branch April 14, 2025 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants