Skip to content

Commit

Permalink
Noarch publish fix (#6134)
Browse files Browse the repository at this point in the history
* github-action: Fix build with publishing for noarch packages
  • Loading branch information
th0ma7 committed Jun 11, 2024
1 parent 2b2958e commit c5f5325
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/actions/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,14 @@ do
else
TCVERSION=${GH_ARCH##*-}
fi
echo "$ make TCVERSION=${TCVERSION} ARCH= -C ./spk/${package} ${MAKE_ARGS%%-}" >>build.log
make TCVERSION=${TCVERSION} ARCH= -C ./spk/${package} ${MAKE_ARGS%%-} |& tee >(tail -15 >>build.log)
# noarch package must be first built then published
echo "$ make TCVERSION=${TCVERSION} ARCH= -C ./spk/${package}" >>build.log
make TCVERSION=${TCVERSION} ARCH= -C ./spk/${package} |& tee >(tail -15 >>build.log)

if [ "${package}" == "${PACKAGE_TO_PUBLISH}" ]; then
echo "$ make TCVERSION=${TCVERSION} ARCH= -C ./spk/${package} ${MAKE_ARGS%%-}" >>build.log
make TCVERSION=${TCVERSION} ARCH= -C ./spk/${package} ${MAKE_ARGS%%-} |& tee >(tail -15 >>build.log)
fi
fi
result=$?

Expand Down

0 comments on commit c5f5325

Please sign in to comment.