Files
install-jq-action/.github/workflows/example-macos.yaml
Daniel Carbone e54e1bfbea initial commit
2022-10-18 11:34:54 -05:00

37 lines
928 B
YAML

name: "Setup jq Example - MacOS"
on:
workflow_dispatch:
inputs:
version:
type: string
required: false
description: "Version of jq to install"
default: "1.6"
download-compressed:
type: boolean
required: false
description: "Download .tar.gz of binary rather than raw binary. Save the tubes."
default: true
force:
type: boolean
required: false
description: "Do not check for existing jq installation before continuing."
default: false
jobs:
example:
runs-on: macos-latest
steps:
- name: 'Setup jq'
uses: dcarbone/install-jq-action@v1.0.0
with:
version: '${{ inputs.version }}'
download-compressed: '${{ inputs.download-compressed }}'
force: '${{ inputs.force }}'
- name: 'Check jq'
run: |
which jq
jq --version