Install tea pr index step.
This commit is contained in:
@@ -78,8 +78,10 @@ jobs:
|
||||
wget -q "${TEA_DL_URL}"
|
||||
wget -q "${TEA_DL_URL}.sha256"
|
||||
|
||||
# Extract hash and manually verify file
|
||||
sha_value=$(cat "tea-${TEA_VERSION}-linux-amd64.sha256")
|
||||
# Read only the hash (strip whitespace)
|
||||
sha_value=$(cat "tea-${TEA_VERSION}-linux-amd64.sha256" | tr -d '[:space:]')
|
||||
|
||||
# Verify using sha256sum
|
||||
echo "${sha_value} tea-${TEA_VERSION}-linux-amd64" | sha256sum -c -
|
||||
|
||||
mv "tea-${TEA_VERSION}-linux-amd64" /usr/bin/tea
|
||||
|
||||
Reference in New Issue
Block a user