Files
install-jq-action/.github/workflows/example-linux.yaml
2022-10-18 11:36:23 -05:00

31 lines
676 B
YAML

name: "Setup jq Example - Linux"
on:
workflow_dispatch:
inputs:
version:
type: string
required: false
description: "Version of jq to install"
default: "1.6"
force:
type: boolean
required: false
description: "Do not check for existing jq installation before continuing."
default: false
jobs:
example:
runs-on: ubuntu-latest
steps:
- name: 'Setup jq'
uses: dcarbone/install-jq-action@v1.0.0
with:
version: '${{ inputs.version }}'
force: '${{ inputs.force }}'
- name: 'Check jq'
run: |
which jq
jq --version