Simplify macos pkg download

This commit is contained in:
pancake committed 2026-07-17 05:10:53 +02:00
1 parent f382331e37
commit 797a7d3928
1 file changed
+2 -3
+2 -3
View File
@@ -152,10 +152,9 @@ runs:
*) PKG_ARCH="x64" ;;
esac
BASE="https://github.com/radareorg/radare2/releases/download/${R2V}"
cd /tmp
curl -fsSL "${BASE}/radare2-${PKG_ARCH}-${R2V}.pkg" -o r2.pkg
cd "$RUNNER_TEMP"
curl -fsSL --retry 3 "${BASE}/radare2-${PKG_ARCH}-${R2V}.pkg" -o r2.pkg
sudo installer -pkg r2.pkg -target /
rm -f r2.pkg
# --- INSTALL FROM RELEASE (Windows) ---
- name: Install from release (Windows)