Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/izumin5210/action-homebrew-tap
https://github.com/izumin5210/action-homebrew-tap
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/izumin5210/action-homebrew-tap
- Owner: izumin5210
- License: mit
- Created: 2019-10-03T02:25:20.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T11:59:46.000Z (almost 2 years ago)
- Last Synced: 2024-10-07T22:45:47.391Z (about 1 month ago)
- Language: JavaScript
- Size: 964 KB
- Stars: 12
- Watchers: 3
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-actions - GitHub Action for Homebrew Tap
- fucking-awesome-actions - GitHub Action for Homebrew Tap
- awesome-workflows - GitHub Action for Homebrew Tap
README
# homebrew for GitHub Actions
## Usage:
```yaml
uses: izumin5210/action-homebrew-tap@v1
with:
tap: izumin5210/homebrew-tools
token: ${{ secrets.GITHUB_TOKEN }}
tap-token: ${{ secrets.TAP_GITHUB_TOKEN }} # require `repo` or `public_repo` scope for the tap repository
if: startsWith(github.ref, 'refs/tags/')
```### With [softprops/action-gh-release](https://github.com/softprops/action-gh-release)
```yaml
name: Releaseon: push
jobs:
build:
runs-on: ubuntu-latest
steps:# build something to release...
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
files: './dist/*'
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}- name: Update Homebrew Formula
uses: izumin5210/action-homebrew-tap@releases/v0
with:
tap: izumin5210/homebrew-tools
token: ${{ secrets.GITHUB_TOKEN }}
tap-token: ${{ secrets.TAP_GITHUB_TOKEN }}
if: startsWith(github.ref, 'refs/tags/')
```