Release 0.19.3 #10
Workflow file for this run
This file contains 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
# .github/workflows/release.yml | |
# Start Homebrew Releaser when a new GitHub release is created | |
name: Update Homebrew Tap | |
on: | |
release: | |
types: [published] | |
jobs: | |
homebrew-releaser: | |
runs-on: ubuntu-latest | |
name: homebrew-releaser | |
steps: | |
- name: Release my project to my Homebrew tap | |
uses: Justintime50/homebrew-releaser@v1 | |
with: | |
# The name of the homebrew tap to publish your formula to as it appears on GitHub. | |
# Required - strings | |
homebrew_owner: allcloud-io | |
homebrew_tap: homebrew-tools | |
# The name of the folder in your homebrew tap where formula will be committed to. | |
# Default is shown - string | |
formula_folder: . | |
# The Personal Access Token (saved as a repo secret) that has `repo` permissions for the repo running the action AND Homebrew tap you want to release to. | |
# Required - string | |
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
# Custom install command for your formula. | |
# Required - string | |
install: 'bin.install "clisso"' | |
# without specificing the version it will autodetect 64 as a version. | |
version: ${{ github.event.release.tag_name }} | |
# Adds URL and checksum targets for different OS and architecture pairs. Using this option assumes | |
# a tar archive exists on your GitHub repo with the following URL pattern (this cannot be customized): | |
# https://github.com/{GITHUB_OWNER}/{REPO_NAME}/releases/download/{TAG}/{REPO_NAME}-{VERSION}-{OPERATING_SYSTEM}-{ARCHITECTURE}.tar.gz' | |
# Darwin AMD pre-existing path example: https://github.com/justintime50/myrepo/releases/download/v1.2.0/myrepo-1.2.0-darwin-amd64.tar.gz | |
# Linux ARM pre-existing path example: https://github.com/justintime50/myrepo/releases/download/v1.2.0/myrepo-1.2.0-linux-arm64.tar.gz | |
# Optional - booleans | |
target_darwin_amd64: true | |
target_darwin_arm64: true | |
target_linux_amd64: true | |
target_linux_arm64: true | |
# Skips committing the generated formula to a homebrew tap (useful for local testing). | |
# Default is shown - boolean | |
skip_commit: false | |
# Logs debugging info to console. | |
# Default is shown - boolean | |
debug: false |