Skip to content

Commit

Permalink
Auto-update hombrew
Browse files Browse the repository at this point in the history
  • Loading branch information
finnvoor committed Dec 11, 2023
1 parent e1aa0a3 commit e21fe63
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/Release.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Release

on:
workflow_dispatch:
push:
tags:
- "*.*.*"

jobs:
release:
runs-on: macos-13

steps:
- uses: actions/checkout@v3
- run: sudo xcode-select -s /Applications/Xcode_15.0.app
Expand All @@ -20,3 +20,15 @@ jobs:
run: gh release create ${{ github.ref_name }} ${{ github.ref_name }}.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
homebrew:
needs: release
name: Bump Homebrew formula
runs-on: ubuntu-latest
environment: Env
steps:
- uses: mislav/bump-homebrew-formula-action@v3
with:
homebrew-tap: finnvoor/homebrew-tools
download-url: https://github.com/finnvoor/xcc/releases/download/${{ github.ref_name }}/${{ github.ref_name }}.tar.gz
env:
COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }}

0 comments on commit e21fe63

Please sign in to comment.