Skip to content

Bump cask

Bump cask #12

Workflow file for this run

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