Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
upload-cloud

GitHub Action

Run Komac

v1.1.1

Run Komac

upload-cloud

Run Komac

Sets up and runs Komac with optional customizations

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Run Komac

uses: michidk/[email protected]

Learn more about this action in michidk/run-komac

Choose a version

Logo Run Komac (GitHub Action) Komac logo

GitHub issues GitHub release (latest by date) GitHub Repo stars GitHub

This GitHub Action sets up Java, installs Komac, and then runs a user-specified command with Komac. It's designed to be efficient by checking if Java and Komac are already installed before attempting to install them.

This action is used in the winget-updater GitHub action to automatically update WinGet packages.

📖 Example Usage

name: My Workflow
on: workflow_dispatch

jobs:
  my_job:
    runs-on: ubuntu-latest
    steps:
    - name: Run Komac
      uses: michidk/[email protected]
      with:
        args: '--version'

⚒️ Configuration Options

  • java-version: Specifies which version of Java to use.
    • Required: ❌
    • Default: 17
  • komac-version: Specifies which version of Komac to use.
    • Required: ❌
    • Default: 1.11.0
  • args: The command to run with Komac.
    • Required: ✅
  • custom-fork-owner: Custom fork owner.
    • Required: ❌
  • custom-tool: Custom tool.
    • Required: ❌
  • custom-tool-url: Custom tool URL.
    • Required: ❌
  • reuse-draft-pr: Reuse draft PR.
    • Required: ❌