mirror of
https://github.com/dcarbone/install-jq-action.git
synced 2026-02-12 11:06:55 +08:00
dumb
This commit is contained in:
10
action.yaml
10
action.yaml
@@ -46,7 +46,7 @@ runs:
|
|||||||
env:
|
env:
|
||||||
JQ_VERSION: '${{ inputs.version }}'
|
JQ_VERSION: '${{ inputs.version }}'
|
||||||
# language=sh
|
# language=sh
|
||||||
run: ${{ github.action_path }/scripts/unixish.sh
|
run: ${{ github.action_path }}/scripts/unixish.sh
|
||||||
|
|
||||||
- name: 'Install jq - Unix-ish 1.7'
|
- name: 'Install jq - Unix-ish 1.7'
|
||||||
if: (runner.os == 'Linux' || runner.os == 'macOS') && inputs.version == '1.7' (steps.jq-check-unix.outputs.found == 'false' || inputs.force == 'true')
|
if: (runner.os == 'Linux' || runner.os == 'macOS') && inputs.version == '1.7' (steps.jq-check-unix.outputs.found == 'false' || inputs.force == 'true')
|
||||||
@@ -54,7 +54,7 @@ runs:
|
|||||||
env:
|
env:
|
||||||
JQ_VERSION: '${{ inputs.version }}'
|
JQ_VERSION: '${{ inputs.version }}'
|
||||||
# language=sh
|
# language=sh
|
||||||
run: ${{ github.action_path }/scripts/unixish-17.sh
|
run: ${{ github.action_path }}/scripts/unixish-17.sh
|
||||||
|
|
||||||
- name: 'Check for jq - Windows-ish'
|
- name: 'Check for jq - Windows-ish'
|
||||||
id: jq-check-windows
|
id: jq-check-windows
|
||||||
@@ -76,13 +76,11 @@ runs:
|
|||||||
shell: powershell
|
shell: powershell
|
||||||
env:
|
env:
|
||||||
JQ_VERSION: '${{ inputs.version }}'
|
JQ_VERSION: '${{ inputs.version }}'
|
||||||
# language=powershell
|
run: ${{ github.action_path }}\scripts\windowsish.ps1
|
||||||
run: ${{ github.action_path }\scripts\windowsish.ps1
|
|
||||||
|
|
||||||
- name: 'Install jq - Windows-ish 1.7'
|
- name: 'Install jq - Windows-ish 1.7'
|
||||||
if: runner.os == 'Windows' && inputs.version == '1.7' && (steps.jq-check-windows.outputs.found == 'false' || inputs.force == 'true')
|
if: runner.os == 'Windows' && inputs.version == '1.7' && (steps.jq-check-windows.outputs.found == 'false' || inputs.force == 'true')
|
||||||
shell: powershell
|
shell: powershell
|
||||||
env:
|
env:
|
||||||
JQ_VERSION: '${{ inputs.version }}'
|
JQ_VERSION: '${{ inputs.version }}'
|
||||||
# language=powershell
|
run: ${{ github.action_path }}\scripts\windowsish-17.ps1
|
||||||
run: ${{ github.action_path }\scripts\windowsish-17.ps1
|
|
||||||
|
|||||||
Reference in New Issue
Block a user