mirror of
https://github.com/dcarbone/install-jq-action.git
synced 2026-02-11 18:46: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
|
||||
description: "Version of jq to install"
|
||||
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:
|
||||
type: boolean
|
||||
required: false
|
||||
@@ -27,7 +22,6 @@ jobs:
|
||||
uses: dcarbone/install-jq-action@v1.0.0
|
||||
with:
|
||||
version: '${{ inputs.version }}'
|
||||
download-compressed: '${{ inputs.download-compressed }}'
|
||||
force: '${{ inputs.force }}'
|
||||
|
||||
- name: 'Check jq'
|
||||
|
||||
6
.github/workflows/example-macos.yaml
vendored
6
.github/workflows/example-macos.yaml
vendored
@@ -8,11 +8,6 @@ on:
|
||||
required: false
|
||||
description: "Version of jq to install"
|
||||
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:
|
||||
type: boolean
|
||||
required: false
|
||||
@@ -27,7 +22,6 @@ jobs:
|
||||
uses: dcarbone/install-jq-action@v1.0.0
|
||||
with:
|
||||
version: '${{ inputs.version }}'
|
||||
download-compressed: '${{ inputs.download-compressed }}'
|
||||
force: '${{ inputs.force }}'
|
||||
|
||||
- name: 'Check jq'
|
||||
|
||||
6
.github/workflows/example-windows.yaml
vendored
6
.github/workflows/example-windows.yaml
vendored
@@ -8,11 +8,6 @@ on:
|
||||
required: false
|
||||
description: "Version of jq to install"
|
||||
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:
|
||||
type: boolean
|
||||
required: false
|
||||
@@ -27,7 +22,6 @@ jobs:
|
||||
uses: dcarbone/install-jq-action@v1.0.0
|
||||
with:
|
||||
version: '${{ inputs.version }}'
|
||||
download-compressed: '${{ inputs.download-compressed }}'
|
||||
force: '${{ inputs.force }}'
|
||||
|
||||
- name: 'Check jq'
|
||||
|
||||
6
.github/workflows/tests.yaml
vendored
6
.github/workflows/tests.yaml
vendored
@@ -30,13 +30,10 @@ jobs:
|
||||
- "windows-latest"
|
||||
- "windows-2022"
|
||||
- "windows-2019"
|
||||
download-compressed:
|
||||
- 'true'
|
||||
- 'false'
|
||||
force:
|
||||
- 'true'
|
||||
- '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 }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3.1.0
|
||||
@@ -46,7 +43,6 @@ jobs:
|
||||
uses: dcarbone/install-jq-action@main
|
||||
with:
|
||||
force: '${{ matrix.force }}'
|
||||
download-compressed: '${{ matrix.download-compressed }}'
|
||||
|
||||
- name: Check jq - Unix-ish
|
||||
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')
|
||||
shell: powershell
|
||||
env:
|
||||
DL_COMPRESSED: "${{ inputs.download-compressed == 'true' }}"
|
||||
JQ_VERSION: '${{ inputs.version }}'
|
||||
run: '& $Env:GITHUB_ACTION_PATH\scripts\windowsish.ps1'
|
||||
|
||||
Reference in New Issue
Block a user