mirror of
https://github.com/jimeh/emacs-builds.git
synced 2026-02-19 11:56:40 +00:00
fix(cask): trigger cask update in homebrew tap after publishing release
This commit is contained in:
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@@ -40,7 +40,7 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: jimeh/build-emacs-for-macos
|
||||
ref: "v0.6.5"
|
||||
ref: "v0.6.6"
|
||||
path: builder
|
||||
- uses: actions/setup-go@v2
|
||||
with:
|
||||
@@ -96,7 +96,7 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: jimeh/build-emacs-for-macos
|
||||
ref: "v0.6.5"
|
||||
ref: "v0.6.6"
|
||||
path: builder
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
@@ -192,9 +192,14 @@ jobs:
|
||||
with:
|
||||
name: dmg
|
||||
path: builds
|
||||
- name: Publish disk image to GitHub Release
|
||||
- name: Publish disk image to a GitHub Release
|
||||
run: >-
|
||||
bin/emacs-builder -l debug release --plan build-plan.yml publish
|
||||
${{ github.event.inputs.extraReleaseArgs }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Trigger update casks workflow in homebrew tap
|
||||
run: >-
|
||||
gh workflow run --repo jimeh/homebrew-emacs-builds update-casks.yml
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.TAP_REPO_TOKEN }}
|
||||
|
||||
15
.github/workflows/dispatch-cask-update.yml
vendored
15
.github/workflows/dispatch-cask-update.yml
vendored
@@ -1,15 +0,0 @@
|
||||
---
|
||||
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