Skip to content
Anthony Fok edited this page Feb 24, 2022 · 3 revisions

Welcome to the github-experiments wiki!

GitHub Actions quirks

Container jobs

These are Docker container jobs.

  • GITHUB_WORKSPACE: /__w/{repo}/{repo} e.g. /__w/github-experiments/github-experiments
  • HOME: /github/home

According to https://github.com/actions/runner/issues/878, GITHUB_WORKSPACE cannot be overridden, i.e. setting jobs.<job-id>.container.options to --workdir=/home/openquake/work would not work.

Workaround: sudo chown openquake:openquake $GITHUB_WORKSPACE.

HOME, on the other hand, can be overridden.

See also https://docs.github.com/en/actions/reference/environment-variables

Creating diagrams on GitHub wiki

See Creating diagrams - GitHub Docs

graph TD;
    A-->B;
    A-->C;
    B-->D;
    C-->D;
Loading
Clone this wiki locally