Skip to content

Commit

Permalink
Merge pull request #309 from smorimoto/opam-2.1
Browse files Browse the repository at this point in the history
Unlock opam 2.1 on the Ubuntu and macOS runners
  • Loading branch information
smorimoto authored Nov 11, 2021
2 parents 0ddd38e + d420927 commit 03f74eb
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
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

- Unlock opam 2.1 on the Ubuntu and macOS runners.

## [2.0.0-beta5]

### Changed
Expand Down
3 changes: 2 additions & 1 deletion dist/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 dist/post/index.js

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

1 change: 1 addition & 0 deletions src/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export async function installer(): Promise<void> {
const platform = getPlatform();
const numberOfProcessors = os.cpus().length;
const isDebug = core.isDebug();
core.exportVariable("OPAMCLI", "2.0");
core.exportVariable("OPAMCOLOR", "always");
core.exportVariable("OPAMERRLOGLEN", 0);
core.exportVariable("OPAMJOBS", numberOfProcessors);
Expand Down
2 changes: 1 addition & 1 deletion src/opam.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function getLatestOpamRelease(): Promise<{
version: string;
browserDownloadUrl: string;
}> {
const semverRange = "<2.1.0";
const semverRange = "<2.2.0";
const octokit = github.getOctokit(GITHUB_TOKEN);
const { data: releases } = await octokit.rest.repos.listReleases({
owner: "ocaml",
Expand Down

0 comments on commit 03f74eb

Please sign in to comment.