Skip to content

Commit ca81012

Browse files
authored
trying out posix sh (#14)
* trying out posix sh
1 parent de7c0d1 commit ca81012

File tree

3 files changed

+59
-3
lines changed

3 files changed

+59
-3
lines changed

.github/workflows/tests.yaml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,38 +42,94 @@ jobs:
4242
include:
4343
- image: "ubuntu-latest"
4444
version: '1.6'
45+
force: true
46+
- image: "ubuntu-latest"
47+
version: '1.6'
48+
force: false
49+
- image: "ubuntu-latest"
50+
version: '1.5'
51+
force: true
4552
- image: "ubuntu-latest"
4653
version: '1.5'
54+
force: false
4755

4856
- image: "ubuntu-20.04"
4957
version: '1.6'
58+
force: true
59+
- image: "ubuntu-20.04"
60+
version: '1.6'
61+
force: false
62+
- image: "ubuntu-20.04"
63+
version: '1.5'
64+
force: true
5065
- image: "ubuntu-20.04"
5166
version: '1.5'
67+
force: false
5268

5369
- image: "ubuntu-22.04"
5470
version: '1.6'
71+
force: true
72+
- image: "ubuntu-22.04"
73+
version: '1.6'
74+
force: false
5575
- image: "ubuntu-22.04"
5676
version: '1.5'
77+
force: true
78+
- image: "ubuntu-22.04"
79+
version: '1.5'
80+
force: false
5781

5882
- image: "ubuntu-24.04"
5983
version: '1.6'
84+
force: true
85+
- image: "ubuntu-24.04"
86+
version: '1.6'
87+
force: false
6088
- image: "ubuntu-24.04"
6189
version: '1.5'
90+
force: true
91+
- image: "ubuntu-24.04"
92+
version: '1.5'
93+
force: false
6294

6395
- image: "windows-latest"
6496
version: '1.6'
97+
force: true
98+
- image: "windows-latest"
99+
version: '1.6'
100+
force: false
65101
- image: "windows-latest"
66102
version: '1.5'
103+
force: true
104+
- image: "windows-latest"
105+
version: '1.5'
106+
force: false
67107

68108
- image: "windows-2019"
69109
version: '1.6'
110+
force: true
111+
- image: "windows-2019"
112+
version: '1.6'
113+
force: false
114+
- image: "windows-2019"
115+
version: '1.5'
116+
force: true
70117
- image: "windows-2019"
71118
version: '1.5'
119+
force: false
72120

73121
- image: "windows-2022"
74122
version: '1.6'
123+
force: true
124+
- image: "windows-2022"
125+
version: '1.6'
126+
force: false
127+
- image: "windows-2022"
128+
version: '1.5'
129+
force: true
75130
- image: "windows-2022"
76131
version: '1.5'
132+
force: false
77133

78134
name: "Test Action - (img: ${{ matrix.image }}; version: ${{ matrix.version }}; force: ${{ matrix.force }})"
79135
runs-on: ${{ matrix.image }}

scripts/unixish-17.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
1+
#!/bin/sh
22

33
set -e
44

scripts/unixish.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
1+
#!/bin/sh
22

33
set -e
44

@@ -54,7 +54,7 @@ esac
5454

5555
# determine binary name
5656

57-
if [[ "${_os}" == "linux" ]]; then
57+
if [ "${_os}" = "linux" ]; then
5858
case "${_arch}" in
5959
'386')
6060
_bin_name="jq-linux32"

0 commit comments

Comments
 (0)