We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b1d9a11 + f230791 commit 6e281d2Copy full SHA for 6e281d2
.github/workflows/build.yml
@@ -387,9 +387,9 @@ jobs:
387
postgres_file="$INSTALL_DIRECTORY/bin/postgres"
388
389
if [ "${{ matrix.os }}" == "ubuntu-latest" ]; then
390
- cpu_architecture=$(readelf --file-header "$postgres_file" | grep 'Machine:' | sed -e 's/ *Machine:\ *//g')
+ cpu_architecture=$(readelf --file-header "$postgres_file" | grep 'Machine:')
391
else
392
- cpu_architecture=$(file "$postgres_file" | awk '{print $5}')
+ cpu_architecture=$(file "$postgres_file")
393
fi
394
395
echo "CPU_ARCHITECTURE=$cpu_architecture" | tee -a $GITHUB_ENV
0 commit comments