Skip to content

Commit

Permalink
Update OCaml to 5.3
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 778844f commit 24cb118
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ jobs:
- macos-latest
- windows-latest
ocaml-compiler:
- "5.2"
- "5.3"
allow-prerelease-opam:
- false
include:
- os: ubuntu-latest
ocaml-compiler: ocaml-variants.5.2.1+options,ocaml-option-flambda
ocaml-compiler: ocaml-variants.5.3.0+options,ocaml-option-flambda
allow-prerelease-opam: false
- os: ubuntu-latest
ocaml-compiler: "5.2"
ocaml-compiler: "5.3"
allow-prerelease-opam: true

runs-on: ${{ matrix.os }}
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,11 @@ The `ocaml-compiler` input supports the Semantic Versioning Specification, for m

Examples:

- Exact package name: `ocaml-base-compiler.5.2.0`
- Combine multiple packages: `ocaml-variants.5.2.0+options,ocaml-option-flambda,ocaml-option-musl,ocaml-option-static`
- Exact package name: `ocaml-base-compiler.5.3.0`
- Combine multiple packages: `ocaml-variants.5.3.0+options,ocaml-option-flambda,ocaml-option-musl,ocaml-option-static`
- Major versions: `4`, `5`
- Minor versions: `4.08`, `4.14`, `5.2`, `5.2.x`
- More specific versions: `~4.02.2`, `5.1.0`
- Minor versions: `4.08`, `4.14`, `5.3`, `5.3.x`
- More specific versions: `~4.02.2`, `5.3.0`

## Advanced Configurations

Expand Down
2 changes: 1 addition & 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.

2 changes: 1 addition & 1 deletion packages/setup-ocaml/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async function retrieveAllCompilerVersions() {
major < 5 && _minor < 10
? // ocaml-base-compiler.4.00.0, ocaml-base-compiler.4.01.0
`0${_minor}`
: // ocaml-base-compiler.5.2.0, ocaml-base-compiler.4.14.0
: // ocaml-base-compiler.5.3.0, ocaml-base-compiler.4.14.2
_minor;
const version = `${major}.${minor}.${patch}`;
versions.add(version);
Expand Down

0 comments on commit 24cb118

Please sign in to comment.