From 8e31ff08669b4133197363dc3fe21deb0037dd69 Mon Sep 17 00:00:00 2001 From: dail8859 Date: Tue, 19 Nov 2024 19:29:54 -0500 Subject: [PATCH] Create bump_cask.yml --- .github/workflows/bump_cask.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/bump_cask.yml diff --git a/.github/workflows/bump_cask.yml b/.github/workflows/bump_cask.yml new file mode 100644 index 000000000..6ba021e8a --- /dev/null +++ b/.github/workflows/bump_cask.yml @@ -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 }}