...
This commit is contained in:
@@ -68,23 +68,23 @@ jobs:
|
||||
- name: Install Tea
|
||||
id: install-tea-pr-index
|
||||
env:
|
||||
TEA_VERSION: "0.10.1"
|
||||
TEA_DL_URL: "https://dl.gitea.com/tea/${TEA_VERSION}/tea-${TEA_VERSION}-linux-amd64"
|
||||
shell: bash
|
||||
run: |
|
||||
echo ${{ gitea.ref }}
|
||||
echo ${{ github.ref }}
|
||||
echo ${{ gitea.ref_name }}
|
||||
echo ${{ github.ref_name }}
|
||||
echo ${{ github.ref }}
|
||||
|
||||
cd /tmp
|
||||
echo ${TEA_DL_URL}
|
||||
wget -q "${TEA_DL_URL}"
|
||||
wget -q "${TEA_DL_URL}.sha256"
|
||||
if $(sha256sum --quiet -c "tea-${TEA_VERSION}-linux-amd64.sha256"); then
|
||||
mv "tea-${TEA_VERSION}-linux-amd64" /usr/bin/tea
|
||||
if $(sha256sum --quiet -c "tea-${{ inputs.tea-version }}-linux-amd64.sha256"); then
|
||||
mv "tea-${{ inputs.tea-version }}-linux-amd64" /usr/bin/tea
|
||||
chmod +x /usr/bin/tea
|
||||
else
|
||||
echo "WARNING ⛔: Tea v${TEA_VERSION} Checksum Failed"
|
||||
echo "WARNING ⛔: Tea v${{ inputs.tea-version }} Checksum Failed"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user