Skip to content

Commit 9d0228a

Browse files
authored
Merge pull request #817 from ocaml/always-setup-cygwin
Always set-up Cygwin whether or not the cache is hit
2 parents 253a338 + b2105f9 commit 9d0228a

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ and this project adheres to
88

99
## [unreleased]
1010

11+
### Changed
12+
13+
- Always set-up Cygwin whether or not the cache is hit.
14+
1115
## [3.0.0-alpha]
1216

1317
### Added

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/setup-ocaml/src/installer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ export async function installer() {
6363
}
6464
const { opamCacheHit, cygwinCacheHit } = await restoreOpamCaches();
6565
if (PLATFORM === "windows") {
66+
await setupCygwin();
6667
if (!cygwinCacheHit) {
67-
await setupCygwin();
6868
await saveCygwinCache();
6969
}
7070
core.addPath(CYGWIN_ROOT_BIN);

0 commit comments

Comments
 (0)