5959 shell : bash
6060
6161 env :
62- SHOULD_RUN : yes
62+ SHOULD_RUN : true
6363 GO_VERSION : ${{ inputs.go-version }}
6464 # Both Docker and nerdctl on linux need rootful right now
6565 WITH_SUDO : ${{ contains(inputs.runner, 'ubuntu') }}
@@ -86,10 +86,10 @@ jobs:
8686 }
8787 if [ "$latest_go" == "" ] && [ "${latest_containerd:1}" == "$CONTAINERD_VERSION" ]; then
8888 echo "::warning title=No canary::There is currently no canary versions to test. Steps will not run.";
89- printf "SHOULD_RUN=no \n" >> "$GITHUB_ENV"
89+ printf "SHOULD_RUN=false \n" >> "$GITHUB_ENV"
9090 fi
9191
92- - if : ${{ env.SHOULD_RUN == 'yes' }}
92+ - if : ${{ env.SHOULD_RUN == true }}
9393 name : " Init: install go"
9494 uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
9595 with :
9898
9999 # XXX RUNNER_OS and generally env is too unreliable
100100 # - if: ${{ env.RUNNER_OS == 'Linux' }}
101- - if : ${{ contains(inputs.runner, 'ubuntu') && env.SHOULD_RUN == 'yes' }}
101+ - if : ${{ contains(inputs.runner, 'ubuntu') && env.SHOULD_RUN == true }}
102102 name : " Init (linux): prepare host"
103103 run : |
104104 if [ "${{ contains(inputs.binary, 'docker') }}" == true ]; then
@@ -136,7 +136,7 @@ jobs:
136136 # FIXME: remove expect when we are done removing unbuffer from tests
137137 sudo apt-get install -qq expect
138138
139- - if : ${{ contains(inputs.runner, 'windows') && env.SHOULD_RUN == 'yes' }}
139+ - if : ${{ contains(inputs.runner, 'windows') && env.SHOULD_RUN == true }}
140140 name : " Init (windows): prepare host"
141141 env :
142142 ctrdVersion : ${{ env.CONTAINERD_VERSION }}
@@ -156,15 +156,15 @@ jobs:
156156 go install ./cmd/nerdctl
157157 echo "::endgroup::"
158158
159- - if : ${{ env.SHOULD_RUN == 'yes' }}
159+ - if : ${{ env.SHOULD_RUN == true }}
160160 name : " Init: install dev tools"
161161 run : |
162162 echo "::group:: make install-dev-tools"
163163 make install-dev-tools
164164 echo "::endgroup::"
165165
166166 # ipv6 is tested only on linux
167- - if : ${{ contains(inputs.runner, 'ubuntu') && env.SHOULD_RUN == 'yes' }}
167+ - if : ${{ contains(inputs.runner, 'ubuntu') && env.SHOULD_RUN == true }}
168168 name : " Run (linux): integration tests (IPv6)"
169169 run : |
170170 ./hack/test-integration.sh -test.target=${{ inputs.binary }} -test.only-ipv6
0 commit comments