{"id":16911443,"url":"https://github.com/gerlero/setup-openfoam","last_synced_at":"2025-04-11T15:52:47.779Z","repository":{"id":249841333,"uuid":"832715643","full_name":"gerlero/setup-openfoam","owner":"gerlero","description":"Set up your GitHub Actions workflow with a specific version of OpenFOAM","archived":false,"fork":false,"pushed_at":"2024-10-08T17:35:36.000Z","size":54,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-14T19:06:01.265Z","etag":null,"topics":["actions","cache","caching","install","openfoam","setup"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gerlero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-23T15:19:17.000Z","updated_at":"2024-10-08T15:40:44.000Z","dependencies_parsed_at":"2024-07-23T18:04:38.956Z","dependency_job_id":"a0ea5570-bd34-4895-9b3d-63721d92daa4","html_url":"https://github.com/gerlero/setup-openfoam","commit_stats":null,"previous_names":["gerlero/setup-openfoam"],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gerlero%2Fsetup-openfoam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gerlero%2Fsetup-openfoam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gerlero%2Fsetup-openfoam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gerlero%2Fsetup-openfoam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gerlero","download_url":"https://codeload.github.com/gerlero/setup-openfoam/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248435593,"owners_count":21103063,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions","cache","caching","install","openfoam","setup"],"created_at":"2024-10-13T19:05:59.918Z","updated_at":"2025-04-11T15:52:47.772Z","avatar_url":"https://github.com/gerlero.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# setup-openfoam\n\n[![CI](https://github.com/gerlero/setup-openfoam/actions/workflows/ci.yml/badge.svg)](https://github.com/gerlero/setup-openfoam/actions/workflows/ci.yml)\n[![Release](https://github.com/gerlero/setup-openfoam/actions/workflows/release.yml/badge.svg)](https://github.com/gerlero/setup-openfoam/actions/workflows/release.yml)\n![OpenFOAM](https://img.shields.io/badge/openfoam-.com%20|%20.org-informational)\n\nInstalls and activates a specific version of OpenFOAM in the GitHub Actions environment.\n\n## Usage\n\n```yaml\nsteps:\n- uses: actions/checkout@v4\n- uses: gerlero/setup-openfoam@v1\n  with:\n    openfoam-version: 2412\n- run: blockMesh\n- run: icoFoam\n```\n\n### Testing multiple OpenFOAM versions\n\n```yaml\nstrategy:\n  matrix:\n    openfoam-version: [11, 12, 2406, 2412]  # Add other versions here if needed\n  fail-fast: true\nsteps:\n- uses: actions/checkout@v4\n- name: Set up OpenFOAM\n  uses: gerlero/setup-openfoam@v1\n  with:\n    openfoam-version: ${{ matrix.openfoam-version }}\n- run: blockMesh\n- run: icoFoam\n```\n\n## Inputs\n\n### `openfoam-version`\n\n**Required**. OpenFOAM version number (read below for the available versions).\n\n### `cache`\n\nWhether to cache the OpenFOAM installation between runs. Default: `true`.\n\n## Available OpenFOAM versions by runner OS\n\n- **`ubuntu-24.04`**: 2412, 2406, 2312 (openfoam.com), 12, 11 (openfoam.org)\n\n- **`ubuntu-22.04`**: 2412, 2406, 2312, 2306, 2212, 2206, 2112, 2106, 2012, 2006 (openfoam.com), 12, 11, 10, 9 (openfoam.org)\n\n- **`ubuntu-20.04`**: 2412, 2406, 2312, 2306, 2212, 2206, 2112, 2106, 2012, 2006 (openfoam.com), 12, 11, 10, 9, 8, 7 (openfoam.org)\n\n- **`macos-15`**, **`macos-14`**, **`macos-13`**: 2412, 2406, 2312, 2306, 2212, 2206, 2112 (via [OpenFOAM.app](https://github.com/gerlero/openfoam-app))\n\n- [Docker `container`](https://docs.github.com/en/actions/writing-workflows/choosing-where-your-workflow-runs/running-jobs-in-a-container) based on:\n\n  - `ubuntu:24.04`: 2412, 2406, 2312 (openfoam.com), 12, 11 (openfoam.org)\n\n  - `ubuntu:22.04`: 2412, 2406, 2312, 2306, 2212, 2206, 2112, 2106, 2012, 2006 (openfoam.com), 12, 11, 10, 9 (openfoam.org)\n\n  - `ubuntu:20.04`: 2412, 2406, 2312, 2306, 2212, 2206, 2112, 2106, 2012, 2006 (openfoam.com), 12, 11, 10, 9, 8, 7 (openfoam.org)\n\n  - `debian:bookworm`: 2312, 2212, 2206, 2112, 2106, 2006 (openfoam.com)\n\n  - `debian:bullseye`: 2312, 2212, 2206, 2112, 2106, 2012, 2006 (openfoam.com)\n\n- Windows: not supported\n\n## Related actions\n\n- [`gerlero/apt-install`](https://github.com/gerlero/apt-install): GitHub Action to install and cache APT packages.\n- [`gerlero/add-apt-repository`](https://github.com/gerlero/add-apt-repository): GitHub Action to add a new APT repository for installing packages.\n- [`gerlero/brew-install`](https://github.com/gerlero/brew-install): GitHub Action to install and cache Homebrew packages.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgerlero%2Fsetup-openfoam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgerlero%2Fsetup-openfoam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgerlero%2Fsetup-openfoam/lists"}