This repository was archived by the owner on Jan 9, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,7 @@ jobs:
138138 ##presets
139139 set +x ; set +e
140140 #-------------#
141+ export HOST_TRIPLET="$(uname -m)-$(uname -s)"
141142 ##Debug
142143 if [ "${{ github.event.inputs.debug }}" == "true" ] ; then
143144 export DEBUG="1"
@@ -170,7 +171,7 @@ jobs:
170171 fi
171172 echo "SBUILD_REBUILD=${SBUILD_REBUILD}" >> "${GITHUB_ENV}"
172173 ##SBUILD_URL
173- sudo curl -qfsSL "https://bin.pkgforge.dev/$(uname -m)-$(uname -s) /yq" -o "/usr/local/bin/yq" && \
174+ sudo curl -qfsSL "https://bin.pkgforge.dev/${HOST_TRIPLET} /yq" -o "/usr/local/bin/yq" && \
174175 sudo chmod 'a+x' "/usr/local/bin/yq" && command -v yq >/dev/null || exit 1
175176 SBUILD_FILE_URL="$(echo "${{ github.event.inputs.sbuild-url }}" | tr -d '[:space:]')"
176177 pushd "$(mktemp -d)" >/dev/null 2>&1
@@ -183,7 +184,6 @@ jobs:
183184 export SBUILD_FILE_URL
184185 echo "SBUILD_FILE_URL=${SBUILD_FILE_URL}" >> "${GITHUB_ENV}"
185186 #Check for x_exec.host
186- export HOST_TRIPLET="$(uname -m)-$(uname -s)"
187187 if yq e '.x_exec.host != null' "./SBUILD_INPUT" | grep -qi 'true'; then
188188 if ! yq '.x_exec.host[]' "./SBUILD_INPUT" | grep -v '^#' | grep -qi "${HOST_TRIPLET,,}"; then
189189 echo -e "\n[✗] WARNING: SBUILD (./SBUILD_INPUT) is NOT Supported on ${HOST_TRIPLET}\n"
You can’t perform that action at this time.
0 commit comments