jq stuff
Some checks failed
Build and Deploy / build (push) Failing after 9s

This commit is contained in:
Genstar 2024-10-08 21:07:45 -03:00
parent 8f481a779a
commit 884402ee0d
Signed by: Genstar
GPG key ID: 126410EC6B40E3EA

View file

@ -0,0 +1,31 @@
name: "Setup jq"
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: docker
steps:
- name: 'Setup jq'
uses: https://github.com/dcarbone/install-jq-action.git@v2.1.0
with:
version: '${{ inputs.version }}'
force: '${{ inputs.force }}'
- name: 'Check jq'
# language=sh
run: |
which jq
jq --version