diff --git a/.github/workflows/bump-cask.yaml b/.github/workflows/bump-cask.yaml new file mode 100644 index 000000000..5436c718a --- /dev/null +++ b/.github/workflows/bump-cask.yaml @@ -0,0 +1,33 @@ +name: Bump homebrew-cask + +on: + workflow_dispatch: + inputs: + tag-name: + description: 'The git tag name to bump the formula to' + required: true + +jobs: + manual-cask-bump: + runs-on: macos-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