File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ jobs:
133133
134134 # Install soar
135135 SOAR_TRIPLET="${NATIVE_ARCH}-$(uname -s | tr '[:upper:]' '[:lower:]')"
136- curl -fsSL "https://github.com/pkgforge/soar/releases/download/ latest/soar-${SOAR_TRIPLET}" \
136+ curl -fsSL "https://github.com/pkgforge/soar/releases/latest/download /soar-${SOAR_TRIPLET}" \
137137 -o /tmp/soar && sudo mv /tmp/soar /usr/local/bin/soar && sudo chmod +x /usr/local/bin/soar
138138 soar --version
139139
@@ -156,14 +156,15 @@ jobs:
156156 GHCR_REPO="$(echo "${{ inputs.ghcr-url }}" | sed 's|^ghcr.io/||' | tr '[:upper:]' '[:lower:]')"
157157 echo "GHCR_REPO=${GHCR_REPO}" >> "$GITHUB_ENV"
158158
159- # For RISC-V, setup QEMU
159+ # For RISC-V, setup QEMU and download riscv64 binaries
160160 if [[ "${QEMU_MODE:-}" == "true" ]]; then
161161 sudo apt-get install -y qemu-user-static
162+ RISCV_TRIPLET="riscv64-linux"
162163 # Download riscv64 sbuild
163- curl -fsSL "https://github.com/pkgforge/sbuilder/releases/download/latest/sbuild-riscv64-linux " \
164+ curl -fsSL "https://github.com/pkgforge/sbuilder/releases/download/latest/sbuild-${RISCV_TRIPLET} " \
164165 -o "${SYSTMP}/sbuild-riscv64" && chmod +x "${SYSTMP}/sbuild-riscv64"
165166 # Download riscv64 soar
166- curl -fsSL "https://github.com/pkgforge/soar/releases/download/ latest/soar-riscv64-linux " \
167+ curl -fsSL "https://github.com/pkgforge/soar/releases/latest/download/ soar-${RISCV_TRIPLET} " \
167168 -o /tmp/soar-riscv64 && sudo mv /tmp/soar-riscv64 /usr/local/bin/soar-riscv64 && sudo chmod +x /usr/local/bin/soar-riscv64
168169 fi
169170
You can’t perform that action at this time.
0 commit comments