Compare commits

..

No commits in common. "914981620fd5df5eda01f75ce475c8b9088ba496" and "47234433a8b28e173cb40038a24a02a5a1af1413" have entirely different histories.

View file

@ -8,10 +8,6 @@ NOCHECK=${INPUT_NOCHECK}
SPEC_NAME=$(basename ${SPEC})
CONFIGURATION="${SYSTEM}-${ARCH}"
echo "::debug::spec file: ${INPUT_SPEC}"
echo "::debug::target: ${INPUT_SYSTEM}-${INPUT_ARCH}"
echo "::debug::nocheck: ${INPUT_NOCHECK}"
echo "Building ${SPEC_NAME} for ${CONFIGURATION}"
echo "::group::Building SRPM"
@ -19,13 +15,13 @@ cd $(dirname ${SPEC})
spectool -g ${SPEC}
if [ $? -ne 0 ]; then
echo "::error::Failed to download sources"
echo "::error Failed to download sources"
exit 1
fi
mock -r "${SYSTEM}-${ARCH}" --buildsrpm --spec ${SPEC_NAME} --sources . --resultdir result
if [ $? -ne 0 ]; then
echo "::error::Failed to build SRPM"
echo "::error Failed to build SRPM"
exit 1
fi
echo "::endgroup::"
@ -39,7 +35,7 @@ if [ ${NOCHECK,,} == "true"]; then
fi
mock -r "${SYSTEM}-${ARCH}" --resultdir result ${OPTS} ${SRPM}
if [ $? -ne 0 ]; then
echo "::error::Failed to build RPM"
echo "::error Failed to build RPM"
exit 1
fi
echo "::endgroup::"