Skip to content

Commit

Permalink
github build action: fix noarch (SynoCommunity#4042)
Browse files Browse the repository at this point in the history
  • Loading branch information
hgy59 authored Jun 23, 2020
1 parent bd333b0 commit fabc4cb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/actions/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,12 @@ for package in ${build_packages}
do
echo "::group:: ---- build ${package}"

# use TCVERSION and ARCH to get real exit codes.
make TCVERSION=${GH_ARCH##*-} ARCH=${GH_ARCH%%-*} -C ./spk/${package}
if [ "${GH_ARCH}" != "noarch" ]; then
# use TCVERSION and ARCH to get real exit codes.
make TCVERSION=${GH_ARCH##*-} ARCH=${GH_ARCH%%-*} -C ./spk/${package}
else
make -C ./spk/${package}
fi
result=$?

if [ ${result} -eq 0 ];
Expand Down

0 comments on commit fabc4cb

Please sign in to comment.