Skip to content

Commit

Permalink
trying out posix sh (#14)
Browse files Browse the repository at this point in the history
* trying out posix sh
  • Loading branch information
dcarbone authored Nov 15, 2024
1 parent de7c0d1 commit ca81012
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 3 deletions.
56 changes: 56 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,38 +42,94 @@ jobs:
include:
- image: "ubuntu-latest"
version: '1.6'
force: true
- image: "ubuntu-latest"
version: '1.6'
force: false
- image: "ubuntu-latest"
version: '1.5'
force: true
- image: "ubuntu-latest"
version: '1.5'
force: false

- image: "ubuntu-20.04"
version: '1.6'
force: true
- image: "ubuntu-20.04"
version: '1.6'
force: false
- image: "ubuntu-20.04"
version: '1.5'
force: true
- image: "ubuntu-20.04"
version: '1.5'
force: false

- image: "ubuntu-22.04"
version: '1.6'
force: true
- image: "ubuntu-22.04"
version: '1.6'
force: false
- image: "ubuntu-22.04"
version: '1.5'
force: true
- image: "ubuntu-22.04"
version: '1.5'
force: false

- image: "ubuntu-24.04"
version: '1.6'
force: true
- image: "ubuntu-24.04"
version: '1.6'
force: false
- image: "ubuntu-24.04"
version: '1.5'
force: true
- image: "ubuntu-24.04"
version: '1.5'
force: false

- image: "windows-latest"
version: '1.6'
force: true
- image: "windows-latest"
version: '1.6'
force: false
- image: "windows-latest"
version: '1.5'
force: true
- image: "windows-latest"
version: '1.5'
force: false

- image: "windows-2019"
version: '1.6'
force: true
- image: "windows-2019"
version: '1.6'
force: false
- image: "windows-2019"
version: '1.5'
force: true
- image: "windows-2019"
version: '1.5'
force: false

- image: "windows-2022"
version: '1.6'
force: true
- image: "windows-2022"
version: '1.6'
force: false
- image: "windows-2022"
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 }})"
runs-on: ${{ matrix.image }}
Expand Down
2 changes: 1 addition & 1 deletion scripts/unixish-17.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/sh

set -e

Expand Down
4 changes: 2 additions & 2 deletions scripts/unixish.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/sh

set -e

Expand Down Expand Up @@ -54,7 +54,7 @@ esac

# determine binary name

if [[ "${_os}" == "linux" ]]; then
if [ "${_os}" = "linux" ]; then
case "${_arch}" in
'386')
_bin_name="jq-linux32"
Expand Down

0 comments on commit ca81012

Please sign in to comment.