Skip to content

Commit

Permalink
handle workflow_dispatch and releases
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbednarz committed Nov 6, 2023
1 parent 59d4c65 commit 9f7c075
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/bump-formula.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ jobs:
- name: Extract version
id: extract-version
run: |
echo "tag-name=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
if [[ ${{ github.event }} == "workflow_dispatch" ]]; then
echo "tag-name=${{ inputs.tag-name }}" >> $GITHUB_OUTPUT
else
echo "tag-name=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
fi
- uses: mislav/bump-homebrew-formula-action@v3
with:
formula-name: cf-vault
Expand Down

0 comments on commit 9f7c075

Please sign in to comment.