michidk / run-komac

A GitHub action which runs Komac.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logo Run Komac (GitHub Action) Komac logo

GitHub release (latest by date) GitHub

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.

πŸ“– Example Usage

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'

βš’οΈ Configuration Options

  • 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: ❌