Skip to content

Releases: ocaml/setup-ocaml

v2.2.8

27 Apr 09:24
Compare
Choose a tag to compare

Changed

  • Update runtime dependencies.

v2.2.7

08 Apr 00:15
Compare
Choose a tag to compare

Changed

  • Update runtime dependencies.

v2.2.6

07 Mar 23:27
Compare
Choose a tag to compare

Changed

  • Update runtime dependencies.

v2.2.5

07 Mar 23:27
Compare
Choose a tag to compare

Changed

  • Update runtime dependencies.

v2.2.4

22 Jan 08:46
Compare
Choose a tag to compare

Changed

  • Update runtime dependencies.

v2.2.3

22 Jan 08:47
Compare
Choose a tag to compare

Changed

  • Adopt native ESM for runtime environment for ocaml/setup-ocaml/analysis again.

v2.2.2

05 Jan 18:21
Compare
Choose a tag to compare

Fixed

  • Use CJS for runtime environment for ocaml/setup-ocaml/analysis again.

v2.2.1

05 Jan 17:15
Compare
Choose a tag to compare

Changed

  • Update runtime dependencies.
  • Adopt native ESM for runtime environment for ocaml/setup-ocaml/analysis.

v2.2.0

09 Dec 14:49
Compare
Choose a tag to compare

Breaking Change

This release contains a breaking change for ocaml/setup-ocaml/deploy-doc@2. (As it is still marked as experimental, it is not relevant to the major version bump.)

Since decent official support is now available to deploy natively to GitHub Pages, the action has been deprecated and removed.

For native support, make sure your repository has Pages enabled and configured to build using GitHub Actions: https://github.com/[USERNAME]/[REPO]/settings/pages

Actual example is as follows:

name: Deploy odoc to GitHub Pages

on:
  push:
    branches:
      - main

permissions: read-all

concurrency:
  group: deploy-odoc
  cancel-in-progress: true

jobs:
  deploy-odoc:
    name: Deploy odoc to GitHub Pages

    environment:
      name: github-pages
      url: ${{ steps.deployment.outputs.page_url }}

    permissions:
      contents: read
      id-token: write
      pages: write

    runs-on: ubuntu-latest

    steps:
      - name: Checkout tree
        uses: actions/checkout@v4

      - name: Set-up OCaml
        uses: ocaml/setup-ocaml@v2
        with:
          ocaml-compiler: "5.1"

      - name: Install dependencies
        run: opam install . --deps-only --with-doc

      - name: Build documentation
        run: opam exec -- dune build @doc

      - name: Set-up Pages
        uses: actions/configure-pages@v4

      - name: Upload artifact
        uses: actions/upload-pages-artifact@v2
        with:
          path: _build/default/_doc/_html

      - name: Deploy odoc to GitHub Pages
        id: deployment
        uses: actions/deploy-pages@v3

Added

  • Add opam support for the Dependency submission API.
  • Set HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK to 1 on the runner while installing OCaml.

Removed

  • Since decent official support is now available to deploy natively to GitHub Pages, deploy-doc has been deprecated and removed.

v2.1.8

06 Dec 15:57
Compare
Choose a tag to compare

Fixed

  • Force all actions to exit with process.exit.