Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
yossydev committed Oct 29, 2023
1 parent b6946a2 commit 8d4a206
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,25 @@
name: Bump Homebrew Formula
on:
push:
branches: [main]
tags: "v*"

jobs:
homebrew:
name: Bump Homebrew formula
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Extract version
id: extract-version
run: |
echo "tag-name=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- name: Bump Homebrew formula
uses: mislav/bump-homebrew-formula-action@v3
with:
formula-name: rando_lgtm
formula-path: rando_lgtm.rb
homebrew-tap: yossydev/homebrew-RandoLGTM
base-branch: main
download-url: https://github.com/yossydev/RandoLGTM/archive/refs/tags/${{ steps.extract-version.outputs.tag-name }}.tar.gz
download-url: https://github.com/yossydev/rando_lgtm/archive/refs/tags/${{ github.ref_name }}.tar.gz
commit-message: |
rando_lgtm ${{ steps.extract-version.outputs.tag-name }}
rando_lgtm ${{ github.ref_name }}
Created by https://github.com/mislav/bump-homebrew-formula-action
env:
COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }}

0 comments on commit 8d4a206

Please sign in to comment.