mirror of
https://github.com/radareorg/github-actions.git
synced 2026-11-07 06:25:58 -10:00
Simplify macos pkg download
This commit is contained in:
1 parent
f382331e37
commit
797a7d3928
1 file changed
+2
-3
+2
-3
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user