See a failed Actions run here: https://github.com/PrairieLearn/PrairieLearn/actions/runs/16679272304/job/47213652964
Relevant output:
exec: mv /tmp/tmp.ctGFw7l8Su/026ce739a879a829/release-info.json.inprogress /tmp/tmp.ctGFw7l8Su/026ce739a879a829/release-info.json
log: installing standalone release d2-0.7.0-linux-amd64.tar.gz from github
exec: cat "$RELEASE_INFO" | grep -n "$ARCHIVE" | cut -d: -f1 | head -n1
exec: sed -n $((asset_line-3))p "$RELEASE_INFO" | sed "s/^.*: \"\(.*\)\",$/\1/g"
sed: invalid option -- '3'
I had thought #2581 would be relevant, but the specific sed command in the output above doesn't seem to be directly related.
This is reproducible in an ubuntu docker container:
docker run --rm -it ubuntu
# In the container...
apt-get -y update; apt-get -y install curl
curl -fsSL https://d2lang.com/install.sh | sh -s --
See a failed Actions run here: https://github.com/PrairieLearn/PrairieLearn/actions/runs/16679272304/job/47213652964
Relevant output:
I had thought #2581 would be relevant, but the specific
sedcommand in the output above doesn't seem to be directly related.This is reproducible in an
ubuntudocker container: