Files
install-jq-action/.github/workflows/example-linux.yaml
Daniel Carbone d5935278d5 updating examples
2024-11-14 19:41:13 -06:00

32 lines
694 B
YAML

name: "Setup jq Example - Linux"
on:
workflow_dispatch:
inputs:
version:
type: string
required: false
description: 'Version of jq to install'
default: '1.7'
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@v3
with:
version: '${{ inputs.version }}'
force: '${{ inputs.force }}'
- name: 'Check jq'
# language=sh
run: |
which jq
jq --version