trying out posix sh (#14)

* trying out posix sh
This commit is contained in:
Daniel Carbone
2024-11-14 19:38:37 -06:00
committed by GitHub
parent de7c0d1fb1
commit ca8101273e
3 changed files with 59 additions and 3 deletions

View File

@@ -42,38 +42,94 @@ jobs:
include: include:
- image: "ubuntu-latest" - image: "ubuntu-latest"
version: '1.6' version: '1.6'
force: true
- image: "ubuntu-latest"
version: '1.6'
force: false
- image: "ubuntu-latest" - image: "ubuntu-latest"
version: '1.5' version: '1.5'
force: true
- image: "ubuntu-latest"
version: '1.5'
force: false
- image: "ubuntu-20.04" - image: "ubuntu-20.04"
version: '1.6' version: '1.6'
force: true
- image: "ubuntu-20.04"
version: '1.6'
force: false
- image: "ubuntu-20.04" - image: "ubuntu-20.04"
version: '1.5' version: '1.5'
force: true
- image: "ubuntu-20.04"
version: '1.5'
force: false
- image: "ubuntu-22.04" - image: "ubuntu-22.04"
version: '1.6' version: '1.6'
force: true
- image: "ubuntu-22.04"
version: '1.6'
force: false
- image: "ubuntu-22.04" - image: "ubuntu-22.04"
version: '1.5' version: '1.5'
force: true
- image: "ubuntu-22.04"
version: '1.5'
force: false
- image: "ubuntu-24.04" - image: "ubuntu-24.04"
version: '1.6' version: '1.6'
force: true
- image: "ubuntu-24.04"
version: '1.6'
force: false
- image: "ubuntu-24.04" - image: "ubuntu-24.04"
version: '1.5' version: '1.5'
force: true
- image: "ubuntu-24.04"
version: '1.5'
force: false
- image: "windows-latest" - image: "windows-latest"
version: '1.6' version: '1.6'
force: true
- image: "windows-latest"
version: '1.6'
force: false
- image: "windows-latest" - image: "windows-latest"
version: '1.5' version: '1.5'
force: true
- image: "windows-latest"
version: '1.5'
force: false
- image: "windows-2019" - image: "windows-2019"
version: '1.6' version: '1.6'
force: true
- image: "windows-2019"
version: '1.6'
force: false
- image: "windows-2019" - image: "windows-2019"
version: '1.5' version: '1.5'
force: true
- image: "windows-2019"
version: '1.5'
force: false
- image: "windows-2022" - image: "windows-2022"
version: '1.6' version: '1.6'
force: true
- image: "windows-2022"
version: '1.6'
force: false
- image: "windows-2022" - image: "windows-2022"
version: '1.5' version: '1.5'
force: true
- image: "windows-2022"
version: '1.5'
force: false
name: "Test Action - (img: ${{ matrix.image }}; version: ${{ matrix.version }}; force: ${{ matrix.force }})" name: "Test Action - (img: ${{ matrix.image }}; version: ${{ matrix.version }}; force: ${{ matrix.force }})"
runs-on: ${{ matrix.image }} runs-on: ${{ matrix.image }}

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env bash #!/bin/sh
set -e set -e

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env bash #!/bin/sh
set -e set -e
@@ -54,7 +54,7 @@ esac
# determine binary name # determine binary name
if [[ "${_os}" == "linux" ]]; then if [ "${_os}" = "linux" ]; then
case "${_arch}" in case "${_arch}" in
'386') '386')
_bin_name="jq-linux32" _bin_name="jq-linux32"