From fcde47e62c70867f6dbcd549c2125930eef972a2 Mon Sep 17 00:00:00 2001 From: Jacob Bednarz Date: Wed, 28 Jun 2023 13:50:31 +1000 Subject: [PATCH] Create bump-cask.yaml --- .github/workflows/bump-cask.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/bump-cask.yaml diff --git a/.github/workflows/bump-cask.yaml b/.github/workflows/bump-cask.yaml new file mode 100644 index 000000000..d7b927524 --- /dev/null +++ b/.github/workflows/bump-cask.yaml @@ -0,0 +1,31 @@ +on: + workflow_dispatch: + inputs: + tag-name: + description: 'The git tag name to bump the formula to' + required: true + +jobs: + manual-cask-bump: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Extract version + id: extract-version + run: | + printf "::set-output name=%s::%s\n" tag-name "${GITHUB_REF#refs/tags/}" + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: "1.20" + - name: Bump cf-terraforming cask in cloudflare/homebrew-cloudflare + uses: macauley/action-homebrew-bump-cask@v1 + with: + token: ${{ secrets.BUMP_CASK_TOKEN }} + tap: cloudflare/homebrew-cloudflare + cask: cf-terraforming + livecheck: true + dryrun: false