diff --git a/.github/actions/release_artifacts/action.yml b/.github/actions/release_artifacts/action.yml index ca44951761..8e14630b4b 100644 --- a/.github/actions/release_artifacts/action.yml +++ b/.github/actions/release_artifacts/action.yml @@ -113,7 +113,7 @@ runs: run: | cat << 'EOF' | tee -a "${GITHUB_OUTPUT}" paths< + ```bash -curl --proto '=https' --tlsv1.2 -fLo contrast https://github.com/edgelesssys/contrast/releases/latest/download/contrast +curl --proto '=https' --tlsv1.2 -fLo contrast https://github.com/edgelesssys/contrast/releases/latest/download/contrast-x86_64-linux +sudo install contrast /usr/local/bin/contrast ``` -After that, install the Contrast CLI in your PATH, e.g.: + + ```bash +curl --proto '=https' --tlsv1.2 -fLo contrast https://github.com/edgelesssys/contrast/releases/latest/download/contrast-aarch64-darwin sudo install contrast /usr/local/bin/contrast ``` + +:::note +If you download the binary via a web browser instead of `curl`, macOS may show a warning +that the software can't be verified. Remove the quarantine attribute to resolve this: + +```bash +sudo xattr -d com.apple.quarantine contrast +``` + +::: + + + diff --git a/packages/update-contrast-releases.sh b/packages/update-contrast-releases.sh index e3dfdb300d..c866c6f7b5 100755 --- a/packages/update-contrast-releases.sh +++ b/packages/update-contrast-releases.sh @@ -31,7 +31,8 @@ target_configs=( # declare an associative array that pairs the field name # in ./packages/versions.json with the path to the file declare -A fields -fields["contrast"]="./workspace/contrast-cli/bin/contrast" +fields["contrast"]="./workspace/contrast-x86_64-linux" +fields["contrast-aarch64-darwin"]="./workspace/contrast-aarch64-darwin" fields["coordinator.yml"]="./workspace/coordinator.yml" fields["runtime.yml"]="./workspace/runtime.yml" fields["emojivoto-demo.zip"]="./workspace/emojivoto-demo.zip"