Problem with github action `julia-docdeploy`

I’m getting this error on github action julia-docdeploy (log):

ERROR: LoadError: InitError: could not load library "/home/runner/.julia/artifacts/a696e1e3e6b8d3c2c4b67609357ebc5c35eabde1/lib/libssl.so"
/lib/x86_64-linux-gnu/libcrypto.so.3: version `OPENSSL_3.3.0' not found (required by /home/runner/.julia/artifacts/a696e1e3e6b8d3c2c4b67609357ebc5c35eabde1/lib/libssl.so)
...
during initialization of module OpenSSL_jll
in expression starting at /home/runner/work/MultiGridBarrier.jl/MultiGridBarrier.jl/docs/make.jl:7

I’ve posted an issue on github but this particular repo sees very little activity (which is maybe a good thing) so I’m seeing here if anyone else has had the same issue.

My workflow is here. This workflow has worked for about a year, maybe more, until maybe a few weeks ago. Today I put in a one-line change into my code and push, and this starts happening.

Note that all my other actions seem to work. It runs my code on Github Actions, the tests all complete. It is very specific to the github action julia-docdeploy, where it looks for a non-existent OpenSSL-3.3.0.

Google has not worked out for me on this problem.

Any ideas?

Edit: notably, OpenSSL-3.3.0 does not seem to be apt-gettable on Ubuntu 24.02, which is I think what I’m using here.

OK well this seems to be gnarly but I found a workaround elsewhere. Long story short, I had to add Pkg.add(name="OpenSSL_jll", version="3.0") to my CI.yml. Explanation below.


This seems to be a super recent bug, or maybe an old bug in new clothes, and I’m not sure anyone knows exactly what’s causing it. If people are inclined to “pass the buck”, the following packages may be involved: julia-docdeploy, Documenter.jl, OpenSSL_jll.jl, Git.jl, as well as possibly upstream OpenSSL packages, etc…

The bug has been reported by github user tamasgal to Documenter.jl but closed as a duplicate of a 2-year-old bug that is still open there.

Github user tamasgal made a minimum working example which now includes their workaround. The workaround is to force Julia to install an older version of OpenSSL_jll.jl before deploying the documentation to github.

I’m leaving this discussion here because the workaround is virtually unfindable now, since it is buried in a discussion of a closed issue on github.