Update action.yml

This commit is contained in:
Ludy87
2026-08-20 23:25:10 +02:00
parent e5f67e09c7
commit 7861e33324
+2 -2
View File
@@ -34,14 +34,14 @@ runs:
esac
task_file="task_linux_${task_arch}.tar.gz"
archive="${RUNNER_TEMP}/${task_file}"
checksums="${RUNNER_TEMP}/task-checksums.txt"
checksums="${RUNNER_TEMP}/task_checksums.txt"
release_url="https://github.com/go-task/task/releases/download/v${TASK_VERSION}"
curl --fail --silent --show-error --location --http1.1 \
--retry 5 --retry-all-errors --retry-delay 2 --connect-timeout 30 \
"${release_url}/${task_file}" --output "${archive}"
curl --fail --silent --show-error --location --http1.1 \
--retry 5 --retry-all-errors --retry-delay 2 --connect-timeout 30 \
"${release_url}/checksums.txt" --output "${checksums}"
"${release_url}/task_checksums.txt" --output "${checksums}"
grep " ${task_file}$" "${checksums}" | sha256sum -c -
tar -xzf "${archive}" -C "${install_dir}" task
fi