Skip to content

Update CLI tool

Update CLI tool #19

name: Update CLI tool
on:
workflow_dispatch:
inputs:
text_input:
description: 'Command line tool name (tinty or tinted-builder-rust)'
required: true
default: 'tinty'
jobs:
update_formula:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1
ref: ${{ github.ref }}
- name: Package
shell: bash
run: |
$GITHUB_WORKSPACE/scripts/update_homebrew_formula "${{ github.event.inputs.text_input }}"
- name: Commit the changes, if any
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update Tinty formula to the latest version
branch: ${{ github.head_ref }}
commit_user_name: tinted-theming-bot
commit_user_email: tintedtheming@proton.me
commit_author: tinted-theming-bot <tintedtheming@proton.me>