You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Run Komac
v1.1.1
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.
name: My Workflow
on: workflow_dispatch
jobs:
my_job:
runs-on: ubuntu-latest
steps:
- name: Run Komac
uses: michidk/[email protected]
with:
args: '--version'
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: ❌