Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to ocaml-opam/opam-repository-mingw #651

Merged
merged 1 commit into from
Mar 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ and this project adheres to

## [unreleased]

### Changed

- Use ocaml-opam/opam-repository-mingw instead of fdopen/opam-repository-mingw.

## [2.0.11]

### Changed
Expand Down
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 src/setup-ocaml/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const platform = getPlatform();
const defaultRepository =
platform !== Platform.Win32
? "https://github.com/ocaml/opam-repository.git"
: "https://github.com/fdopen/opam-repository-mingw.git#opam2";
: "https://github.com/ocaml-opam/opam-repository-mingw.git#sunset";

export const OPAM_REPOSITORIES: [string, string][] = repositories_yaml
? Object.entries(repositories_yaml).reverse()
Expand Down
2 changes: 1 addition & 1 deletion src/setup-ocaml/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function unique(array: string[]) {
async function getAllCompilerVersions(): Promise<string[]> {
const octokit = github.getOctokit(GITHUB_TOKEN);
const platform = getPlatform();
const owner = platform === Platform.Win32 ? "fdopen" : "ocaml";
const owner = platform === Platform.Win32 ? "ocaml-opam" : "ocaml";
const repo =
platform === Platform.Win32 ? "opam-repository-mingw" : "opam-repository";
const prefix =
Expand Down