diff --git a/.github/scripts/start-worker.sh b/.github/scripts/start-worker.sh index baa0c7af..9a3bd444 100755 --- a/.github/scripts/start-worker.sh +++ b/.github/scripts/start-worker.sh @@ -5,7 +5,6 @@ set -x -TC_VERSION=v44.4.0 TC_PROJECT=fuzzing TC_WORKER_TYPE=ci-osx TC_IDLE_TIMEOUT=300 @@ -40,6 +39,8 @@ EOF set -x unset TASKCLUSTER_ACCESS_TOKEN +TC_VERSION="$(curl -sS --fail --head "https://github.com/taskcluster/taskcluster/releases/latest" | grep ^location | sed 's/.\+\/tag\/\(.\+\)[[:space:]]\+/\1/')" +echo "installing TC version: $TC_VERSION" curl -sSL "https://github.com/taskcluster/taskcluster/releases/download/$TC_VERSION/generic-worker-simple-darwin-amd64" -o generic-worker curl -sSL "https://github.com/taskcluster/taskcluster/releases/download/$TC_VERSION/livelog-darwin-amd64" -o livelog curl -sSL "https://github.com/taskcluster/taskcluster/releases/download/$TC_VERSION/taskcluster-proxy-darwin-amd64" -o taskcluster-proxy