Skip to content

Commit

Permalink
Update Cygwin mirror uri
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <[email protected]>
  • Loading branch information
smorimoto committed Jan 9, 2025
1 parent c847188 commit 6023324
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/post/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/setup-ocaml/src/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { retrieveCygwinVersion } from "./windows.js";

async function composeCygwinCacheKeys() {
const cygwinVersion = await retrieveCygwinVersion();
const key = `${CACHE_PREFIX}-setup-ocaml-cygwin-${cygwinVersion}`;
const key = `${CACHE_PREFIX}-setup-ocaml-cygwin-${CYGWIN_MIRROR_ENCODED_URI}-${cygwinVersion}`;
const restoreKeys = [key];
return { key, restoreKeys };
}
Expand Down
2 changes: 1 addition & 1 deletion packages/setup-ocaml/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const PLATFORM = (() => {
}
})();

export const CYGWIN_MIRROR = "https://cygwin.mirror.constant.com/";
export const CYGWIN_MIRROR = "https://mirrors.kernel.org/sourceware/cygwin/";

export const GITHUB_WORKSPACE = process.env.GITHUB_WORKSPACE ?? process.cwd();

Expand Down

0 comments on commit 6023324

Please sign in to comment.