bump: add oras v1.2.0 to setup-oras (#28)
Resolves #29 --------- Signed-off-by: Xiaoxuan Wang <wangxiaoxuan119@gmail.com>
This commit is contained in:
parent
e7fdc53992
commit
339758d383
|
@ -35,8 +35,8 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
os: [macos-latest, windows-latest, ubuntu-latest]
|
os: [macos-latest, windows-latest, ubuntu-latest]
|
||||||
version:
|
version:
|
||||||
- 1.0.1
|
|
||||||
- 1.1.0
|
- 1.1.0
|
||||||
|
- 1.2.0
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|
|
@ -20,7 +20,7 @@ inputs:
|
||||||
version:
|
version:
|
||||||
description: Version of the official ORAS CLI to install
|
description: Version of the official ORAS CLI to install
|
||||||
required: false
|
required: false
|
||||||
default: 1.1.0
|
default: 1.2.0
|
||||||
url:
|
url:
|
||||||
description: URL of the customized ORAS CLI to install
|
description: URL of the customized ORAS CLI to install
|
||||||
required: false
|
required: false
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -106,5 +106,55 @@
|
||||||
"url": "https://github.com/oras-project/oras/releases/download/v1.1.0/oras_1.1.0_windows_amd64.zip"
|
"url": "https://github.com/oras-project/oras/releases/download/v1.1.0/oras_1.1.0_windows_amd64.zip"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"1.2.0": {
|
||||||
|
"darwin": {
|
||||||
|
"amd64": {
|
||||||
|
"checksum": "58a8494f5bce778e21d89d90c82e05bd128e7bb9d84dd190d154f8afdbf30541",
|
||||||
|
"url": "https://github.com/oras-project/oras/releases/download/v1.2.0/oras_1.2.0_darwin_amd64.tar.gz"
|
||||||
|
},
|
||||||
|
"arm64": {
|
||||||
|
"checksum": "fea801b0e02c5342e749ef2860e1faebae03e93ae50e33ed40d227e089cf9435",
|
||||||
|
"url": "https://github.com/oras-project/oras/releases/download/v1.2.0/oras_1.2.0_darwin_arm64.tar.gz"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"freebsd": {
|
||||||
|
"amd64": {
|
||||||
|
"checksum": "73d3a292dce1f0985df084ff50b38ab2deacbcb01902ceebc008d5bea2f2dee9",
|
||||||
|
"url": "https://github.com/oras-project/oras/releases/download/v1.2.0/oras_1.2.0_freebsd_amd64.tar.gz"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"linux": {
|
||||||
|
"amd64": {
|
||||||
|
"checksum": "5b3f1cbb86d869eee68120b9b45b9be983f3738442f87ee5f06b00edd0bab336",
|
||||||
|
"url": "https://github.com/oras-project/oras/releases/download/v1.2.0/oras_1.2.0_linux_amd64.tar.gz"
|
||||||
|
},
|
||||||
|
"arm64": {
|
||||||
|
"checksum": "27df680a39fc2fcedc549cb737891623bc696c9a92a03fd341e9356a35836bae",
|
||||||
|
"url": "https://github.com/oras-project/oras/releases/download/v1.2.0/oras_1.2.0_linux_arm64.tar.gz"
|
||||||
|
},
|
||||||
|
"armv7": {
|
||||||
|
"checksum": "054685703cb0c66e51f8143e3bbd3976e217d3d595f0593db43b6dd451e43329",
|
||||||
|
"url": "https://github.com/oras-project/oras/releases/download/v1.2.0/oras_1.2.0_linux_armv7.tar.gz"
|
||||||
|
},
|
||||||
|
"ppc64le": {
|
||||||
|
"checksum": "af5ee50434c7263b1460978af83e7690570e8999678fae9db6c5dbb38467fed5",
|
||||||
|
"url": "https://github.com/oras-project/oras/releases/download/v1.2.0/oras_1.2.0_linux_ppc64le.tar.gz"
|
||||||
|
},
|
||||||
|
"riscv64": {
|
||||||
|
"checksum": "42c7e5f35b72492dd3ee7c68edad0c0da939b39e6ead7f682329015b283e96f8",
|
||||||
|
"url": "https://github.com/oras-project/oras/releases/download/v1.2.0/oras_1.2.0_linux_riscv64.tar.gz"
|
||||||
|
},
|
||||||
|
"s390x": {
|
||||||
|
"checksum": "69d2e842e592f4d990b33d58ff3c298c4e4c0921dd54ad9e65e3b6dd9427a750",
|
||||||
|
"url": "https://github.com/oras-project/oras/releases/download/v1.2.0/oras_1.2.0_linux_s390x.tar.gz"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"windows": {
|
||||||
|
"amd64": {
|
||||||
|
"checksum": "f110b42a20bd4728fb0428d36ee6ed10de58cd986bba8e95ecc4f0272cb017ba",
|
||||||
|
"url": "https://github.com/oras-project/oras/releases/download/v1.2.0/oras_1.2.0_windows_amd64.zip"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -71,6 +71,8 @@ export function mapPlatform(): string {
|
||||||
return 'darwin';
|
return 'darwin';
|
||||||
case 'win32':
|
case 'win32':
|
||||||
return 'windows';
|
return 'windows';
|
||||||
|
case 'freebsd':
|
||||||
|
return 'freebsd';
|
||||||
default:
|
default:
|
||||||
throw new Error(`unsupported platform: ${platform}`);
|
throw new Error(`unsupported platform: ${platform}`);
|
||||||
}
|
}
|
||||||
|
@ -86,6 +88,10 @@ export function mapArch(): string {
|
||||||
return 'arm64';
|
return 'arm64';
|
||||||
case 'arm64':
|
case 'arm64':
|
||||||
return 'arm64';
|
return 'arm64';
|
||||||
|
case 'ppc64':
|
||||||
|
return 'ppc64le';
|
||||||
|
case 'riscv64':
|
||||||
|
return 'riscv64';
|
||||||
case 's390':
|
case 's390':
|
||||||
return 's390x';
|
return 's390x';
|
||||||
case 'arm':
|
case 'arm':
|
||||||
|
|
Loading…
Reference in New Issue