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 51cdb68
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/bump-cask.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Bump cask
on:
workflow_dispatch:
inputs:
cask:
required: true
type: string
version:
required: true
type: string
permissions:
actions: read
checks: read
contents: write
deployments: read
issues: read
discussions: read
packages: read
pull-requests: write
repository-projects: read
security-events: read
statuses: read

jobs:
build:
runs-on: macos-13
steps:
- name: Bump tap
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ github.token }}
REPOSITORY: ${{ github.repository }}
CASK: ${{ github.event.inputs.cask }}
VERSION: ${{ github.event.inputs.version }}
run: |
brew bump-cask-pr "$REPOSITORY/$CASK" --version "$VERSION"

0 comments on commit 51cdb68

Please sign in to comment.