1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 18:34:48 +00:00

homebrew gh action

This commit is contained in:
deadc0de6
2023-01-13 14:26:16 +01:00
parent a83dd83c87
commit fb60706ee1
2 changed files with 22 additions and 5 deletions

22
.github/workflows/homebrew-manual.yml vendored Normal file
View 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}}

View File

@@ -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