Skip to content

Commit

Permalink
Create bump_cask.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dail8859 authored Nov 20, 2024
1 parent f8e8b9f commit 8e31ff0
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/bump_cask.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Bump Homebrew Cask

on:
release:
types:
- published
workflow_dispatch:
inputs:
ref:
description: 'Tag'
required: true
sha:
description: 'SHA'
required: true

jobs:
bump-cask:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Update Homebrew cask
uses: macauley/action-homebrew-bump-cask@v1
with:
token: ${{ secrets.HOMEBREW_TOKEN }}
tap: dail8859/homebrew-notepadnext
cask: Casks/notepadnext.rb
tag: ${{ github.event.inputs.ref || github.event.release.tag_name }}
revision: ${{ github.event.inputs.sha || github.event.release.target_commitish }}

0 comments on commit 8e31ff0

Please sign in to comment.