AI-native design editor. Open-source Figma alternative.
Add workflow_dispatch trigger to Homebrew workflow
Danila Poyarkovd1d0e9c51364
diff --git a/.github/workflows/homebrew.yml b/.github/workflows/homebrew.ymlindex 891990675..d30c1a768 100644--- a/.github/workflows/homebrew.yml+++ b/.github/workflows/homebrew.yml@@ -3,6 +3,11 @@ name: Update Homebrew Tapon:release:types: [published]+ workflow_dispatch:+ inputs:+ tag:+ description: 'Release tag (e.g. v0.10.0)'+ required: truepermissions: {}@@ -14,10 +19,11 @@ jobs:env:GH_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}run: |- VERSION="${GITHUB_REF_NAME#v}"+ TAG="${{ github.event.inputs.tag || github.ref_name }}"+ VERSION="${TAG#v}"TMPDIR=$(mktemp -d)- gh release download "$GITHUB_REF_NAME" \+ gh release download "$TAG" \--repo "$GITHUB_REPOSITORY" \--pattern 'OpenPencil_aarch64.app.tar.gz' \--pattern 'OpenPencil_x64.app.tar.gz' \