PR #21 introduced using ${{ runner.temp }} instead of temp directory /tmp to download get-pants script.
The curl command fails with error curl: (23) Failure writing output to destination since the default worker temp directory /home/runner/work/_temp does not exist.
The fix would be to use flag https://curl.se/docs/manpage.html#--create-dirs which will create the directory if it does not exists.
The final command would look like this
curl --create-dirs --proto '=https' --tlsv1.2 -fsSLo ${{ runner.temp }}/get-pants.sh