mirror of
https://github.com/jimeh/emacs-builds.git
synced 2026-02-19 13:06:40 +00:00
feat(cask): add workflow to trigger homebrew cask formula update on new release
This triggers the update formulas workflow in the jimeh/homebrew-emacs-builds repo whenever a release or pre-release is created in jimeh/emacs-builds. This allows the cask formulas to automatically stay up to date with latest nightly builds.
This commit is contained in:
15
.github/workflows/dispatch-cask-update.yml
vendored
Normal file
15
.github/workflows/dispatch-cask-update.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
name: Dispatch Cask Update
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
dispatch-cask-update:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Run update formulas workflow in jimeh/homebrew-emacs-builds
|
||||
run: >-
|
||||
gh workflow run --repo jimeh/homebrew-emacs-builds update-formulas.yml
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.TAP_REPO_TOKEN }}
|
||||
Reference in New Issue
Block a user