Skip to content

Commit

Permalink
feat: bump cask action
Browse files Browse the repository at this point in the history
  • Loading branch information
suphon-t committed Jan 11, 2024
1 parent 2c14e08 commit d3f248a
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/bump-cask.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Bump cask
on:
workflow_dispatch:
inputs:
cask:
required: true
type: string
version:
required: true
type: string

jobs:
build:
runs-on: macos-13
steps:
- name: Configure git credentials
uses: oleksiyrudenko/gha-git-credentials@v2-latest
with:
global: true
token: '${{ github.token }}'

- name: Bump tap
env:
HOMEBREW_GITHUB_API_TOKEN: ${{ github.token }}
REPOSITORY: ${{ github.repository }}
CASK: ${{ github.event.inputs.cask }}
VERSION: ${{ github.event.inputs.version }}
run: |
brew tap "$REPOSITORY"
brew bump-cask-pr "$REPOSITORY/$CASK" --version "$VERSION" --no-fork

0 comments on commit d3f248a

Please sign in to comment.