File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -165,14 +165,14 @@ jobs:
165165 ARCH=${ARCH@L}
166166 OS=$(echo '${{ runner.os }}')
167167 OS=${OS@L}
168- printf -v BINARY_PATTERN "%s -fips_%s_%s*" "${{ inputs.distribution }}" "${OS}" "${ARCH}"
168+ printf -v BINARY_PATTERN "distributions/%s/dist/%s -fips_%s_%s*/*" "${{ inputs.distribution}} " "${{ inputs.distribution }}" "${OS}" "${ARCH}"
169169 echo "Looking for binary pattern: ${BINARY_PATTERN}"
170- BINARY=$(ls ${BINARY_PATTERN} 2>/dev/null | head -1)
170+ BINARY=$(find ${BINARY_PATTERN} 2>/dev/null | head -1)
171171 if [[ -z "${BINARY}" ]]; then
172172 echo "Error"
173173 exit 1
174174 fi
175- go tool nm ${BINARY} | grep '_Cfunc__goboringcrypto_' && (echo 'fips distro should not use standard crypto' && exit 1)
175+ go tool nm ${BINARY} | grep '_Cfunc__goboringcrypto_' || (echo 'fips distro should not use standard crypto' && exit 1)
176176
177177 - name : Run local e2e tests
178178 if : ${{ hashFiles(format('distributions/{0}/test/spec-local.yaml', inputs.distribution)) != '' }}
You can’t perform that action at this time.
0 commit comments