Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(release): bump zinit homebrew formula #628

Merged
merged 1 commit into from
Jan 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: 'mvdoster@gmail.com'
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 }}
Loading