Skip to content

Commit 3a64e1d

Browse files
committed
add soar
1 parent 9dbb294 commit 3a64e1d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/matrix_builds.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,13 @@ jobs:
240240
esac
241241
curl -fsSL "https://github.com/oras-project/oras/releases/download/v${ORAS_VERSION}/oras_${ORAS_VERSION}_linux_${ORAS_ARCH}.tar.gz" | sudo tar -xzf - -C /usr/local/bin oras
242242
oras version
243+
#Install soar (used by recipes)
244+
HOST_TRIPLET="$(uname -m)-$(uname -s | tr '[:upper:]' '[:lower:]')"
245+
curl -fsSL "https://github.com/pkgforge/soar/releases/download/nightly/soar-${HOST_TRIPLET}" -o /usr/local/bin/soar || {
246+
echo "::warning::Failed to download soar, some recipes may fail"
247+
}
248+
chmod +x /usr/local/bin/soar 2>/dev/null
249+
soar --version 2>/dev/null || true
243250
#Minisign
244251
if [ -n "${MINISIGN_KEY+x}" ] && [[ "${MINISIGN_KEY}" =~ ^[^[:space:]]+$ ]]; then
245252
mkdir -pv "${HOME}/.minisign"
@@ -397,7 +404,6 @@ jobs:
397404
fi
398405
# Push to GHCR
399406
SBUILD_ARGS+=("--push")
400-
SBUILD_ARGS+=("--ghcr-token" "${GHCR_TOKEN}")
401407
SBUILD_ARGS+=("--ghcr-repo" "$(echo "${GHCRPKG_LOCAL}" | sed 's|^ghcr.io/||')")
402408
# Sign if key available
403409
if [[ -n "${MINISIGN_KEY}" && "${MINISIGN_KEY}" =~ ^[^[:space:]]+$ ]]; then

0 commit comments

Comments
 (0)