diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 25d8da531..2f1057432 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,7 +4,7 @@ on: push: # Sequence of patterns matched against refs/tags tags: - - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 + - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 permissions: contents: write @@ -33,3 +33,27 @@ jobs: args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + homebrew: + needs: goreleaser + runs-on: ubuntu-latest + container: + image: ghcr.io/homebrew/ubuntu22.04:master + steps: + - name: Set up Homebrew + uses: Homebrew/actions/setup-homebrew@master + with: + test-bot: false + + - name: Configure Git user + uses: Homebrew/actions/git-user-config@master + + - name: Tap formulae repo + run: brew tap ivaquero/chinese + + - name: Bump formulae + uses: Homebrew/actions/bump-formulae@master + with: + # Custom GitHub access token with only the 'workflow' scope enabled + token: ${{ secrets.HOMEBREW_COMMITTER_TOKEN }} + formulae: ddns-go ivaquero/chinese/ddns-go