From b75e140f384e9da05504b0c9d8b055ec56345b0a Mon Sep 17 00:00:00 2001 From: Daniel Carbone Date: Tue, 18 Oct 2022 11:36:23 -0500 Subject: [PATCH] remove download compressed --- .github/workflows/example-linux.yaml | 6 ------ .github/workflows/example-macos.yaml | 6 ------ .github/workflows/example-windows.yaml | 6 ------ .github/workflows/tests.yaml | 6 +----- action.yaml | 1 - 5 files changed, 1 insertion(+), 24 deletions(-) diff --git a/.github/workflows/example-linux.yaml b/.github/workflows/example-linux.yaml index 2e2cd85..4d5fe04 100644 --- a/.github/workflows/example-linux.yaml +++ b/.github/workflows/example-linux.yaml @@ -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' diff --git a/.github/workflows/example-macos.yaml b/.github/workflows/example-macos.yaml index 769c218..555d3b2 100644 --- a/.github/workflows/example-macos.yaml +++ b/.github/workflows/example-macos.yaml @@ -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' diff --git a/.github/workflows/example-windows.yaml b/.github/workflows/example-windows.yaml index 84c8ef3..51d7ebe 100644 --- a/.github/workflows/example-windows.yaml +++ b/.github/workflows/example-windows.yaml @@ -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' diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 59bf3fd..dbf445e 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -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' diff --git a/action.yaml b/action.yaml index 59b430e..c310a22 100644 --- a/action.yaml +++ b/action.yaml @@ -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'