ci(buildx): use a special builder value to indicate host build
This commit is contained in:
parent
e739e3cadb
commit
22815d4cec
|
@ -283,7 +283,7 @@ jobs:
|
|||
--pkgtype "${PKGTYPE}" \
|
||||
--arch "${ARCH}" \
|
||||
--elixir "${IS_ELIXIR}" \
|
||||
--builder "builder_to_be_ignored"
|
||||
--builder "force_host"
|
||||
done
|
||||
- uses: actions/upload-artifact@v3
|
||||
if: success()
|
||||
|
|
|
@ -95,7 +95,7 @@ jobs:
|
|||
--pkgtype "${PKGTYPE}" \
|
||||
--arch "${ARCH}" \
|
||||
--elixir "${IS_ELIXIR}" \
|
||||
--builder "builder_to_be_ignored"
|
||||
--builder "force_host"
|
||||
done
|
||||
- uses: actions/upload-artifact@v3
|
||||
if: success()
|
||||
|
|
|
@ -140,7 +140,7 @@ BUILDER_SYSTEM="$(echo "$BUILDER" | awk -F'-' '{print $NF}')"
|
|||
CMD_RUN="make ${MAKE_TARGET} && ./scripts/pkg-tests.sh ${MAKE_TARGET}"
|
||||
|
||||
IS_NATIVE_SYSTEM='no'
|
||||
if [[ "$HOST_SYSTEM" = "$BUILDER_SYSTEM" ]]; then
|
||||
if [[ "$BUILDER_SYSTEM" == "force_host" ]] || [[ "$BUILDER_SYSTEM" == "$HOST_SYSTEM" ]]; then
|
||||
IS_NATIVE_SYSTEM='yes'
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue