mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 14:31:46 +00:00
homebrew gh action
This commit is contained in:
22
.github/workflows/homebrew-manual.yml
vendored
Normal file
22
.github/workflows/homebrew-manual.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
name: Release to Homebrew
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["Release to PyPI"]
|
||||
types:
|
||||
- completed
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
tag-name:
|
||||
description: 'Tag to bump the formula to'
|
||||
required: true
|
||||
jobs:
|
||||
homebrew-core:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: mislav/bump-homebrew-formula-action@v2
|
||||
with:
|
||||
formula-name: dotdrop
|
||||
tag-name: ${{ github.event.inputs.tag-name }}
|
||||
download-url: https://github.com/deadc0de6/dotdrop/archive/${{ github.event.inputs.tag-name }}.tar.gz
|
||||
env:
|
||||
COMMITTER_TOKEN: ${{secrets.HOMEBREW_FORMULA_GH_TOKEN}}
|
||||
5
.github/workflows/homebrew-release.yml
vendored
5
.github/workflows/homebrew-release.yml
vendored
@@ -4,11 +4,6 @@ on:
|
||||
workflows: ["Release to PyPI"]
|
||||
types:
|
||||
- completed
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
tag-name:
|
||||
description: 'Tag to bump the formula to'
|
||||
required: true
|
||||
jobs:
|
||||
homebrew-core:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user