diff --git a/.gitea/workflows/auto-pr-tofu-plan.yml b/.gitea/workflows/auto-pr-tofu-plan.yml index baae037..2dbc0ae 100644 --- a/.gitea/workflows/auto-pr-tofu-plan.yml +++ b/.gitea/workflows/auto-pr-tofu-plan.yml @@ -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