Run Komac (GitHub Action)
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/run-komac@v1
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: โ