Skip to content

Commit

Permalink
remove download compressed
Browse files Browse the repository at this point in the history
  • Loading branch information
dcarbone committed Oct 18, 2022
1 parent e54e1bf commit b75e140
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 24 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/example-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/example-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/example-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand Down
1 change: 0 additions & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit b75e140

Please sign in to comment.