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