mirror of
https://github.com/actions/runner-images.git
synced 2025-12-13 20:56:47 +00:00
[Ubuntu] Update Kotlin installer hash check (#9468)
This commit is contained in:
@@ -13,7 +13,8 @@ download_url=$(resolve_github_release_asset_url "JetBrains/kotlin" "contains(\"k
|
||||
archive_path=$(download_with_retry "$download_url")
|
||||
|
||||
# Supply chain security - Kotlin
|
||||
kotlin_hash=$(get_checksum_from_github_release "JetBrains/kotlin" "kotlin-compiler-.*\.zip" "latest" "SHA256")
|
||||
kotlin_hash_file=$(download_with_retry "${download_url}.sha256")
|
||||
kotlin_hash=$(cat "$kotlin_hash_file")
|
||||
use_checksum_comparison "$archive_path" "$kotlin_hash"
|
||||
|
||||
unzip -qq "$archive_path" -d $KOTLIN_ROOT
|
||||
|
||||
Reference in New Issue
Block a user