Skip to content

Commit

Permalink
Update homebrew workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
leoafarias committed Oct 16, 2023
1 parent 1f63640 commit bbb3661
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 33 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/deploy_homebrew.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Deploy Homebrew

on:
workflow_dispatch:

jobs:
deploy-homebrew:
name: Update Homebrew
runs-on: macos-latest
env:
PUB_CREDENTIALS: ${{ secrets.PUB_CREDENTIALS }}
GITHUB_TOKEN: ${{ secrets.HOMEBREW_FVM_GH_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Prepare environment
uses: ./.github/actions/prepare

- name: Deploy homebrew
run: dart run grinder pkg-homebrew-update



19 changes: 1 addition & 18 deletions .github/workflows/deploy_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,4 @@ jobs:
uses: ./.github/actions/prepare

- name: Deploy Github Mac
run: dart run grinder pkg-github-macos

update-homebrew:
name: Update Homebrew
runs-on: macos-latest
needs: deploy-macos
env:
PUB_CREDENTIALS: ${{ secrets.PUB_CREDENTIALS }}
GITHUB_TOKEN: ${{ secrets.HOMEBREW_FVM_GH_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Prepare environment
uses: ./.github/actions/prepare



run: dart run grinder pkg-github-macos
17 changes: 2 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,21 +73,8 @@ jobs:
- name: Deploy Github Mac
run: dart run grinder pkg-github-macos

update-homebrew:
name: Update Homebrew
runs-on: macos-latest
needs: deploy-macos
env:
PUB_CREDENTIALS: ${{ secrets.PUB_CREDENTIALS }}
GITHUB_TOKEN: ${{ secrets.HOMEBREW_FVM_GH_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Prepare environment
uses: ./.github/actions/prepare


- name: Deploy Homebrew
run: dart run grinder pkg-homebrew-update



Expand Down

0 comments on commit bbb3661

Please sign in to comment.