Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/int128/update-homebrew-formula-action
Action to update version in formula of Homebrew Tap
https://github.com/int128/update-homebrew-formula-action
github-actions homebrew
Last synced: 5 days ago
JSON representation
Action to update version in formula of Homebrew Tap
- Host: GitHub
- URL: https://github.com/int128/update-homebrew-formula-action
- Owner: int128
- License: apache-2.0
- Created: 2022-01-08T09:04:18.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-01T20:30:53.000Z (8 months ago)
- Last Synced: 2024-05-02T00:14:59.702Z (8 months ago)
- Topics: github-actions, homebrew
- Language: TypeScript
- Homepage:
- Size: 3.47 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# update-homebrew-formula-action [![ts](https://github.com/int128/update-homebrew-formula-action/actions/workflows/ts.yaml/badge.svg)](https://github.com/int128/update-homebrew-formula-action/actions/workflows/ts.yaml)
This is an action to update a Homebrew formula to the desired version.
## Getting Started
To update a formula,
```yaml
name: updatejobs:
formula:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: int128/update-homebrew-formula-action@v2
with:
path: example.rb
version: v1.0.0
- uses: int128/update-generated-files-action@v2
```You can see the changed formula if a new release is available.
## Inputs
| Name | Default | Description |
| --------- | ---------- | --------------------------------- |
| `path` | (required) | Glob pattern to formula(s) |
| `version` | (required) | Desired version of the formula(s) |## Outputs
None.