Skip to content

.github/workflows/bump-cask.yaml #7

.github/workflows/bump-cask.yaml

.github/workflows/bump-cask.yaml #7

Workflow file for this run

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 Homebrew tap
uses: macauley/action-homebrew-bump-cask@v1
with:
token: ${{ secrets.HOMEBREW_UPDATER_PAT }}
tap: jacobbednarz/homebrew-tap
cask: cf-vault
livecheck: true
dryrun: false