2024-01-02 16:16:49 -06:00
|
|
|
name: mise action
|
|
|
|
description: Actions for working with mise runtime manager
|
2023-08-27 12:12:44 -05:00
|
|
|
author: Jeff Dickey <@jdx>
|
2023-02-21 23:26:41 -06:00
|
|
|
branding:
|
|
|
|
icon: arrow-down-circle
|
|
|
|
color: purple
|
2023-01-14 08:11:40 -06:00
|
|
|
inputs:
|
2023-12-14 06:39:54 -06:00
|
|
|
version:
|
|
|
|
required: false
|
2024-01-02 16:16:49 -06:00
|
|
|
description: The version of mise to use. If not specified, will use the latest release.
|
|
|
|
mise_dir:
|
2023-12-14 08:38:00 -06:00
|
|
|
required: false
|
|
|
|
description: |
|
2024-01-02 16:16:49 -06:00
|
|
|
The directory that mise will be installed to, defaults to $HOME/.local/share/mise
|
|
|
|
Or $XDG_DATA_HOME/mise if $XDG_DATA_HOME is set.
|
|
|
|
Or $MISE_DATA_DIR if $MISE_DATA_DIR is set.
|
2023-01-14 08:36:43 -06:00
|
|
|
tool_versions:
|
|
|
|
required: false
|
|
|
|
description: If present, this value will be written to the .tool-versions file
|
2024-01-02 16:16:49 -06:00
|
|
|
mise_toml:
|
2023-12-14 07:56:58 -06:00
|
|
|
required: false
|
2024-01-02 16:16:49 -06:00
|
|
|
description: If present, this value will be written to the .mise.toml file
|
2023-09-15 09:49:51 +09:00
|
|
|
install:
|
|
|
|
required: false
|
2023-10-16 19:18:57 -05:00
|
|
|
default: "true"
|
2024-01-02 16:16:49 -06:00
|
|
|
description: if false, will not run `mise install`
|
2024-06-01 16:10:28 +00:00
|
|
|
install_args:
|
|
|
|
required: false
|
|
|
|
description: Arguments to pass to `mise install` such as "bun" to only install bun
|
2024-06-01 11:12:06 -05:00
|
|
|
install_dir:
|
|
|
|
required: false
|
|
|
|
description: deprecated
|
2023-12-12 16:04:07 -05:00
|
|
|
cache:
|
|
|
|
required: false
|
|
|
|
default: "true"
|
2023-12-14 08:38:00 -06:00
|
|
|
description: if false, action will not read or write to cache
|
|
|
|
cache_save:
|
|
|
|
required: false
|
|
|
|
default: "true"
|
|
|
|
description: if false, action will not write to cache
|
|
|
|
cache_key_prefix:
|
|
|
|
required: false
|
2024-01-02 16:16:49 -06:00
|
|
|
default: "mise-v0"
|
2023-12-14 08:38:00 -06:00
|
|
|
description: The prefix key to use for the cache, change this to invalidate the cache
|
2023-12-24 20:15:25 +01:00
|
|
|
experimental:
|
|
|
|
required: false
|
|
|
|
default: "false"
|
|
|
|
description: if true, will use experimental features
|
2024-05-12 10:19:03 -05:00
|
|
|
log_level:
|
|
|
|
required: false
|
|
|
|
default: "info"
|
|
|
|
description: The log level to use for the action
|
2024-06-01 10:35:57 -05:00
|
|
|
working_directory:
|
|
|
|
required: false
|
|
|
|
description: The directory that mise runs in
|
2025-01-25 21:54:07 -08:00
|
|
|
github_token:
|
|
|
|
required: false
|
|
|
|
description: |-
|
|
|
|
Github token to use for fetching github dependencies.
|
|
|
|
Useful for environments that set GITHUB_TOKEN without allowing it
|
|
|
|
to be customized (e.g., forgejo).
|
2023-08-18 11:29:16 -04:00
|
|
|
outputs:
|
2023-04-10 20:36:00 -04:00
|
|
|
cache-hit:
|
2023-12-14 08:38:00 -06:00
|
|
|
description: A boolean value to indicate if a cache was hit.
|
2023-01-14 08:11:40 -06:00
|
|
|
runs:
|
2023-10-16 19:18:57 -05:00
|
|
|
using: node20
|
2023-01-14 08:36:43 -06:00
|
|
|
main: dist/index.js
|
2023-04-10 20:36:00 -04:00
|
|
|
post: dist/cache-save/index.js
|
|
|
|
post-if: success()
|