From 1e4c332301c2ca3f4178e292ae550039af929a0b Mon Sep 17 00:00:00 2001 From: Artem Chepurnyi Date: Sat, 2 Nov 2024 13:02:24 +0200 Subject: [PATCH] chore(homebrew): Try to setup homebrew correctly (2) #118 --- .../workflows/new_release_deploy_homebrew.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/new_release_deploy_homebrew.yml b/.github/workflows/new_release_deploy_homebrew.yml index bc3f9e7c..25b28398 100644 --- a/.github/workflows/new_release_deploy_homebrew.yml +++ b/.github/workflows/new_release_deploy_homebrew.yml @@ -14,11 +14,14 @@ jobs: uses: actions/checkout@v4 - name: Set up Homebrew uses: Homebrew/actions/setup-homebrew@master - - run: brew tap AChep/cask - - name: Bump packages - uses: Homebrew/actions/bump-packages@master - with: - token: ${{ secrets.DEPLOY_HOMEBREW_GITHUB_TOKEN }} - casks: > - keyguard - fork: true + - name: Set up Git + run: | + git config --global user.email mail@artemchep.com + git config --global user.name AChep + - name: Update Homebrew cask + env: + HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.DEPLOY_HOMEBREW_GITHUB_TOKEN }} + run: | + brew tap AChep/cask + brew update + brew bump-cask-pr keyguard