Skip to content

Commit

Permalink
ci(release): bump zinit homebrew formula
Browse files Browse the repository at this point in the history
  • Loading branch information
vladdoster authored Jan 22, 2024
1 parent f26d387 commit 70d5501
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Release

on:
workflow_dispatch:
push:
tags:
- '*'

jobs:
release:
Expand All @@ -22,9 +25,6 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

# - name: Build Docker image
# run: docker buildx --load build --tag vladdoster/dotfiles:latest .

- name: Generate release
run: npx semantic-release --ci --
env:
Expand All @@ -33,3 +33,19 @@ jobs:
GIT_AUTHOR_NAME: 'Vladislav Doster'
GIT_COMMITTER_EMAIL: '[email protected]'
GIT_COMMITTER_NAME: 'Vladislav Doster'

bump-homebrew-formula:
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Bump Homebrew formulae
uses: dawidd6/action-homebrew-bump-formula@v3
with:
formula: zinit
org: zdharma-continuum
# A Personal Access Token (PAT) is instead of the default
# GITHUB_TOKEN because brew bump-formula-pr creates a fork of the
# formula's tap repository (if needed) and then creates a pull
# request.
token: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}

0 comments on commit 70d5501

Please sign in to comment.