archey4/.github/workflows/deployment.yml
2021-08-29 17:52:39 +02:00

25 lines
584 B
YAML

---
name: Deployment
on:
# Run when new releases are published.
release:
types: [published]
# Allow manual triggers from GitHub.
workflow_dispatch:
inputs:
tag:
required: true
description: 'Git tag'
jobs:
bump_homebrew_formula:
runs-on: macos-latest
steps:
- name: Bump Homebrew formula
uses: dawidd6/action-homebrew-bump-formula@v3
with:
token: ${{ secrets.HOMEBREW_BUMP_FORMULA_GITHUB_TOKEN }}
formula: archey4
tag: ${{ github.event.release.tag_name || github.event.inputs.tag }}