Skip to content

LemonNekoGH/update-homebrew-formula-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Update Homebrew Formula Action

javscript-action status

Usage

You can now consume the action by referencing the main branch

uses: lemonnekogh/update-homebrew-formula-action@main
with:
  tag: '0.0.2'
  url: 'https://github.com/example/tool'
  description: 'a description'
  buildType: Go
  main: 'main.go'
  homepage: 'https://github.com/example/tool'
  licenseName: 'MIT'
  formulaName: 'Tool'
  commandName: 'tool'

See the actions tab for runs of this action! 🚀

This action just create or update formula ruby file in Formula/<name>.rb currently, you need commit and push by another steps.

For further info, you can see actions.yaml currently, thank you.

Testing

Install the dependencies

pnpm install

Run the tests ✔️

$ pnpm test

 ✓ index.test.ts (1)

 Test Files  1 passed (1)
      Tests  1 passed (1)
   Start at  16:30:49
   Duration  270ms (transform 64ms, setup 0ms, collect 49ms, tests 1ms)