From fefde9d523207289ca0805297ad84b492376272c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Boschi?= Date: Fri, 20 Oct 2023 13:12:13 +0200 Subject: [PATCH] Automate brew update after release --- .github/workflows/release-test.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release-test.yml b/.github/workflows/release-test.yml index 167eaeec8..d377faf56 100644 --- a/.github/workflows/release-test.yml +++ b/.github/workflows/release-test.yml @@ -1,11 +1,9 @@ name: Release test on: - workflow_dispatch: - inputs: - tag-name: - description: 'The git tag name to bump the formula to' - required: true + pull_request: + branches: + - main jobs: homebrew-release-1: @@ -15,8 +13,9 @@ jobs: - name: Set output id: vars run: | - echo "tag=${${{ github.event.inputs.tag-name }}/refs\/tags\//}" >> $GITHUB_OUTPUT - echo "version=${${{ github.event.inputs.tag-name }}/refs\/tags\/v/}" >> $GITHUB_OUTPUT + tttt=refs/tags/v0.3.1 + echo "tag=${tttt/refs\/tags\//}" >> $GITHUB_OUTPUT + echo "version=${tttt/refs\/tags\/v/}" >> $GITHUB_OUTPUT - uses: mislav/bump-homebrew-formula-action@v3 with: