GitHub Action
Run Komac
v2.1.0
Latest version
This GitHub Action installs Komac, and then runs a user-specified command with Komac.
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/run-komac@v2
with:
args: '--version'
komac-version
: Specifies which version of Komac to use.- Required: ❌
- Default:
latest
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: ❌