ci: maybe automate updating homebrew tap
refs: https://github.com/wez/wezterm/issues/208
This commit is contained in:
1 parent
52aa395bea
commit
cb5aed126c
4 files changed
+68
No files matched your search
@@ -88,3 +88,20 @@ jobs:
|
||||
files: "WezTerm-*.zip"
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
- name: "Checkout homebrew tap"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: "wez/homebrew-wezterm"
|
||||
path: "homebrew-wezterm"
|
||||
- name: "Update homebrew tap formula"
|
||||
shell: bash
|
||||
run: |
|
||||
export MACOSX_DEPLOYMENT_TARGET=10.9
|
||||
cp wezterm.rb $GITHUB_WORKSPACE/Formula/wezterm.rb
|
||||
|
||||
|
||||
- name: "Commit homebrew tap changes"
|
||||
uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
commit_message: "Automated update to match latest tag"
|
||||
repository: "$GITHUB_WORKSPACE/homebrew-wezterm"
|
||||
Reference in new issue
Block a user