Skip to content

omnicli/setup-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Setup Omni Action

GitHub Super-Linter CI Check dist/ CodeQL

This GitHub Action installs omni on a GitHub Actions runner, and optionally runs omni up to setup dependencies.

Usage

Workflow

To use this action, add the following step to your GitHub Actions workflow:

steps:
  - name: Install omni
    uses: omnicli/setup-action@v0
    with:
      up: true

  - name: Show omni status
    shell: bash
    run: omni status

By default, the action installs the latest version of omni. You can specify the version of omni to install using the version input:

steps:
  - name: Install omni
    uses: omncli/setup-action@v0
    with:
      version: 0.0.23

Inputs

Parameter Description Default
version The version of omni to install latest
up Whether or not to run omni up after installing omni false
up_args Additional arguments to pass to omni up null
up_retries Number of times to retry omni up if it fails (0 = no retries) 0
up_retry_delay Base delay in milliseconds between retry attempts 1000
up_retry_jitter Jitter percentage to add randomness to retry delays 10
up_retry_backoff Backoff multiplier for exponential backoff between retries 1
check Whether or not to run omni config check after installing omni false
check_patterns Additional patterns to check for when running omni config check; must provide one pattern per line null
check_ignore Error codes to ignore when running omni config check; must provide one error code per line null
check_select Error codes to select when running omni config check; must provide one error code per line null
cache Cache omni's environment using GitHub's cache true
cache_write Whether or not to disable the cache write, while still allowing cache reads true
cache_check_hash Whether or not to check the hash of the cache contents before saving the cache, to save on transfer times if the cache is large true
cache_key_prefix The cache key prefix to use; if changed, will invalidate any pre-existing cache omni

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

GitHub Action to setup omni

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •