mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-09 10:04:17 +00:00
fix homebrew gh action
This commit is contained in:
22
.github/workflows/homebrew-manual.yml
vendored
22
.github/workflows/homebrew-manual.yml
vendored
@@ -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}}
|
|
||||||
8
.github/workflows/homebrew-release.yml
vendored
8
.github/workflows/homebrew-release.yml
vendored
@@ -4,12 +4,12 @@ on:
|
|||||||
workflows: ["Release to PyPI"]
|
workflows: ["Release to PyPI"]
|
||||||
types:
|
types:
|
||||||
- completed
|
- completed
|
||||||
|
workflow_dispatch:
|
||||||
jobs:
|
jobs:
|
||||||
homebrew-core:
|
homebrew-core:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: mislav/bump-homebrew-formula-action@v2
|
- uses: dawidd6/action-homebrew-bump-formula@v3
|
||||||
with:
|
with:
|
||||||
formula-name: dotdrop
|
token: ${{secrets.HOMEBREW_FORMULA_GH_TOKEN}}
|
||||||
env:
|
formula: dotdrop
|
||||||
COMMITTER_TOKEN: ${{secrets.HOMEBREW_FORMULA_GH_TOKEN}}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user