File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments