Smithy CLI v1.52.1 #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Runs certain jobs after a release is published or on an as-needed basis (manually), | |
# e.g. triggering an update to the homebrew-tap when a new version of the CLI is available | |
name: post-release | |
on: | |
release: | |
types: [released] | |
workflow_dispatch: # on button click | |
inputs: | |
version: | |
description: 'The version that was released (e.g. 1.47.0)' | |
required: true | |
type: string | |
env: | |
version: ${{ github.event.inputs.version || github.ref_name }} | |
jobs: | |
homebrew-tap: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Trigger homebrew-tap update | |
uses: benc-uk/workflow-dispatch@v1 | |
with: | |
workflow: autoupdate | |
repo: smithy-lang/homebrew-tap | |
ref: 'main' | |
inputs: '{ "version": "${{ env.version }}" }' | |
# Required when using the `repo` option | |
token: "${{ secrets.PR_TOKEN }}" |