1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 16:49:42 +00:00

fix homebrew gh action

This commit is contained in:
deadc0de6
2023-01-14 14:44:22 +01:00
parent f8a70dc58a
commit 92fa32c9d3
2 changed files with 4 additions and 26 deletions

View File

@@ -1,22 +0,0 @@
name: Manual 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,12 +4,12 @@ on:
workflows: ["Release to PyPI"]
types:
- completed
workflow_dispatch:
jobs:
homebrew-core:
runs-on: ubuntu-latest
steps:
- uses: mislav/bump-homebrew-formula-action@v2
- uses: dawidd6/action-homebrew-bump-formula@v3
with:
formula-name: dotdrop
env:
COMMITTER_TOKEN: ${{secrets.HOMEBREW_FORMULA_GH_TOKEN}}
token: ${{secrets.HOMEBREW_FORMULA_GH_TOKEN}}
formula: dotdrop