Skip to content

Commit 8e31ff0

Browse files
authored
Create bump_cask.yml
1 parent f8e8b9f commit 8e31ff0

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/bump_cask.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Bump Homebrew Cask
2+
3+
on:
4+
release:
5+
types:
6+
- published
7+
workflow_dispatch:
8+
inputs:
9+
ref:
10+
description: 'Tag'
11+
required: true
12+
sha:
13+
description: 'SHA'
14+
required: true
15+
16+
jobs:
17+
bump-cask:
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- name: Checkout code
22+
uses: actions/checkout@v4
23+
24+
- name: Update Homebrew cask
25+
uses: macauley/action-homebrew-bump-cask@v1
26+
with:
27+
token: ${{ secrets.HOMEBREW_TOKEN }}
28+
tap: dail8859/homebrew-notepadnext
29+
cask: Casks/notepadnext.rb
30+
tag: ${{ github.event.inputs.ref || github.event.release.tag_name }}
31+
revision: ${{ github.event.inputs.sha || github.event.release.target_commitish }}

0 commit comments

Comments
 (0)