File tree Expand file tree Collapse file tree 5 files changed +7
-2
lines changed Expand file tree Collapse file tree 5 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 13
13
- win-x64
14
14
- win-x86
15
15
- linux-x64
16
+ - linux-arm64
16
17
- osx-x64
17
18
env :
18
19
release : ' dev-proxy-${{ matrix.architecture }}-${{ github.ref_name }}'
Original file line number Diff line number Diff line change @@ -55,6 +55,8 @@ if ($os -match "Windows") {
55
55
} elseif ($IsLinux ) {
56
56
if ($arch -eq " X64" ) {
57
57
$url = " $base_url -linux-x64-$version .zip"
58
+ } elseif ($arch -eq " Arm64" ) {
59
+ $url = " $base_url -linux-arm64-$version .zip"
58
60
} else {
59
61
Write-Host " Unsupported architecture $arch . Aborting"
60
62
exit 1
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ if [ "$(uname)" == "Darwin" ]; then
58
58
elif [ " $( expr substr $( uname -s) 1 5) " == " Linux" ]; then
59
59
ARCH=" $( uname -m) "
60
60
if [ " $( expr substr ${ARCH} 1 5) " == " arm64" ] || [ " $( expr substr ${ARCH} 1 7) " == " aarch64" ]; then
61
- echo " unsupported architecture ${ARCH} . Aborting" ; exit 1;
61
+ curl -sL -o ./devproxy.zip " $base_url -linux-arm64- $version .zip " || { echo " Cannot install Dev Proxy . Aborting" ; exit 1; }
62
62
elif [ " $( expr substr ${ARCH} 1 6) " == " x86_64" ]; then
63
63
curl -sL -o ./devproxy.zip " $base_url -linux-x64-$version .zip" || { echo " Cannot install Dev Proxy. Aborting" ; exit 1; }
64
64
else
Original file line number Diff line number Diff line change @@ -54,6 +54,8 @@ if ($os -match "Windows") {
54
54
} elseif ($IsLinux ) {
55
55
if ($arch -eq " X64" ) {
56
56
$url = " $base_url -linux-x64-$version .zip"
57
+ } elseif ($arch -eq " Arm64" ) {
58
+ $url = " $base_url -linux-arm64-$version .zip"
57
59
} else {
58
60
Write-Host " Unsupported architecture $arch . Aborting"
59
61
exit 1
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ if [ "$(uname)" == "Darwin" ]; then
57
57
elif [ " $( expr substr $( uname -s) 1 5) " == " Linux" ]; then
58
58
ARCH=" $( uname -m) "
59
59
if [ " $( expr substr ${ARCH} 1 5) " == " arm64" ] || [ " $( expr substr ${ARCH} 1 7) " == " aarch64" ]; then
60
- echo " unsupported architecture ${ARCH} . Aborting" ; exit 1;
60
+ curl -sL -o ./devproxy.zip " $base_url -linux-arm64- $version .zip " || { echo " Cannot install Dev Proxy . Aborting" ; exit 1; }
61
61
elif [ " $( expr substr ${ARCH} 1 6) " == " x86_64" ]; then
62
62
curl -sL -o ./devproxy.zip " $base_url -linux-x64-$version .zip" || { echo " Cannot install Dev Proxy. Aborting" ; exit 1; }
63
63
else
You can’t perform that action at this time.
0 commit comments