Bump Homebrew Cask PR #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Bump Homebrew Cask PR | |
| on: | |
| release: | |
| types: | |
| - edited | |
| workflow_dispatch: | |
| jobs: | |
| homebrew-bump: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get release version | |
| run: | | |
| # Extract version from the release tag (remove 'v' from v1.0.2 to 1.0.2) | |
| VERSION=$(echo "${{ github.event.release.tag_name }}" | sed 's/^v//') | |
| echo "Release version: $VERSION" | |
| echo "VERSION=$VERSION" >> $GITHUB_ENV | |
| - uses: mislav/bump-homebrew-formula-action@v3 | |
| with: | |
| formula-name: nethlink | |
| formula-path: Casks/n/nethlink.rb | |
| homebrew-tap: Homebrew/homebrew-cask | |
| env: | |
| COMMITTER_TOKEN: ${{ secrets.HOMEBREW_GITHUB_TOKEN }} |