Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Latest commit

 

History

History
17 lines (12 loc) · 692 Bytes

BUILD.md

File metadata and controls

17 lines (12 loc) · 692 Bytes

Build notes

Testing GH actions locally

  • Currently to test locally, a local version of setup-ocaml is setup with sandboxing disabled: git@github.com:avsm/setup-ocaml.git ocaml/setup-ocaml#6

    The opam init commands get passed a --disable-sandboxing flag (dist/index.js)

  • Steps to use the local version:

    1. Clone and modify avsm/setup-ocaml into .github/actions and disable sandboxing
    2. Set uses in the GH workflow file to use the local version in .github/actions
    3. Uncomment the local setup-ocaml folder from .gitignore so that act can copy it: # .github/actions/setup-ocaml/
    4. Only run the ubuntu-latest matrix