mirror of
https://github.com/dcarbone/install-jq-action.git
synced 2026-02-12 02:56:56 +08:00
remove download compressed
This commit is contained in:
6
.github/workflows/example-linux.yaml
vendored
6
.github/workflows/example-linux.yaml
vendored
@@ -8,11 +8,6 @@ on:
|
|||||||
required: false
|
required: false
|
||||||
description: "Version of jq to install"
|
description: "Version of jq to install"
|
||||||
default: "1.6"
|
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:
|
force:
|
||||||
type: boolean
|
type: boolean
|
||||||
required: false
|
required: false
|
||||||
@@ -27,7 +22,6 @@ jobs:
|
|||||||
uses: dcarbone/install-jq-action@v1.0.0
|
uses: dcarbone/install-jq-action@v1.0.0
|
||||||
with:
|
with:
|
||||||
version: '${{ inputs.version }}'
|
version: '${{ inputs.version }}'
|
||||||
download-compressed: '${{ inputs.download-compressed }}'
|
|
||||||
force: '${{ inputs.force }}'
|
force: '${{ inputs.force }}'
|
||||||
|
|
||||||
- name: 'Check jq'
|
- name: 'Check jq'
|
||||||
|
|||||||
6
.github/workflows/example-macos.yaml
vendored
6
.github/workflows/example-macos.yaml
vendored
@@ -8,11 +8,6 @@ on:
|
|||||||
required: false
|
required: false
|
||||||
description: "Version of jq to install"
|
description: "Version of jq to install"
|
||||||
default: "1.6"
|
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:
|
force:
|
||||||
type: boolean
|
type: boolean
|
||||||
required: false
|
required: false
|
||||||
@@ -27,7 +22,6 @@ jobs:
|
|||||||
uses: dcarbone/install-jq-action@v1.0.0
|
uses: dcarbone/install-jq-action@v1.0.0
|
||||||
with:
|
with:
|
||||||
version: '${{ inputs.version }}'
|
version: '${{ inputs.version }}'
|
||||||
download-compressed: '${{ inputs.download-compressed }}'
|
|
||||||
force: '${{ inputs.force }}'
|
force: '${{ inputs.force }}'
|
||||||
|
|
||||||
- name: 'Check jq'
|
- name: 'Check jq'
|
||||||
|
|||||||
6
.github/workflows/example-windows.yaml
vendored
6
.github/workflows/example-windows.yaml
vendored
@@ -8,11 +8,6 @@ on:
|
|||||||
required: false
|
required: false
|
||||||
description: "Version of jq to install"
|
description: "Version of jq to install"
|
||||||
default: "1.6"
|
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:
|
force:
|
||||||
type: boolean
|
type: boolean
|
||||||
required: false
|
required: false
|
||||||
@@ -27,7 +22,6 @@ jobs:
|
|||||||
uses: dcarbone/install-jq-action@v1.0.0
|
uses: dcarbone/install-jq-action@v1.0.0
|
||||||
with:
|
with:
|
||||||
version: '${{ inputs.version }}'
|
version: '${{ inputs.version }}'
|
||||||
download-compressed: '${{ inputs.download-compressed }}'
|
|
||||||
force: '${{ inputs.force }}'
|
force: '${{ inputs.force }}'
|
||||||
|
|
||||||
- name: 'Check jq'
|
- name: 'Check jq'
|
||||||
|
|||||||
6
.github/workflows/tests.yaml
vendored
6
.github/workflows/tests.yaml
vendored
@@ -30,13 +30,10 @@ jobs:
|
|||||||
- "windows-latest"
|
- "windows-latest"
|
||||||
- "windows-2022"
|
- "windows-2022"
|
||||||
- "windows-2019"
|
- "windows-2019"
|
||||||
download-compressed:
|
|
||||||
- 'true'
|
|
||||||
- 'false'
|
|
||||||
force:
|
force:
|
||||||
- 'true'
|
- 'true'
|
||||||
- 'false'
|
- 'false'
|
||||||
name: "Test Action - (img: ${{ matrix.image }}; dlcmp: ${{ matrix.download-compressed }}; force: ${{ matrix.force }})"
|
name: "Test Action - (img: ${{ matrix.image }}; force: ${{ matrix.force }})"
|
||||||
runs-on: ${{ matrix.image }}
|
runs-on: ${{ matrix.image }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.1.0
|
- uses: actions/checkout@v3.1.0
|
||||||
@@ -46,7 +43,6 @@ jobs:
|
|||||||
uses: dcarbone/install-jq-action@main
|
uses: dcarbone/install-jq-action@main
|
||||||
with:
|
with:
|
||||||
force: '${{ matrix.force }}'
|
force: '${{ matrix.force }}'
|
||||||
download-compressed: '${{ matrix.download-compressed }}'
|
|
||||||
|
|
||||||
- name: Check jq - Unix-ish
|
- name: Check jq - Unix-ish
|
||||||
if: runner.os == 'Linux' || runner.os == 'macOS'
|
if: runner.os == 'Linux' || runner.os == 'macOS'
|
||||||
|
|||||||
@@ -64,6 +64,5 @@ runs:
|
|||||||
if: runner.os == 'Windows' && (steps.jq-check-windows.outputs.found == 'false' || inputs.force == 'true')
|
if: runner.os == 'Windows' && (steps.jq-check-windows.outputs.found == 'false' || inputs.force == 'true')
|
||||||
shell: powershell
|
shell: powershell
|
||||||
env:
|
env:
|
||||||
DL_COMPRESSED: "${{ inputs.download-compressed == 'true' }}"
|
|
||||||
JQ_VERSION: '${{ inputs.version }}'
|
JQ_VERSION: '${{ inputs.version }}'
|
||||||
run: '& $Env:GITHUB_ACTION_PATH\scripts\windowsish.ps1'
|
run: '& $Env:GITHUB_ACTION_PATH\scripts\windowsish.ps1'
|
||||||
|
|||||||
Reference in New Issue
Block a user