Skip to content

Feature Request: Add post-install command option #335

@Automaat

Description

@Automaat

Problem

Many projects use mise run install or similar tasks to install project dependencies after tool installation. Currently requires separate workflow step:

- uses: jdx/mise-action@v3
- run: mise run install  # Extra step needed

Proposed Solution

Add post_install_command parameter:

- uses: jdx/mise-action@v3
  with:
    post_install_command: "mise run install"

Would execute after mise install completes, before action finishes.

Use Cases

  • mise run install - Install npm/pip/cargo deps
  • mise run setup - Project-specific setup

Benefits

  • Cleaner workflows (one step vs two)
  • Ensures commands run in correct mise environment
  • Common pattern in many projects

Backwards Compatibility

Fully backwards compatible - optional parameter with empty default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions