GitHub dlang-community/setup-dlang at v1 workflow woes

Anonymouse zorael at gmail.com
Sat Jun 19 17:31:48 UTC 2021


So for a good while now the D GitHub workflow hasn't worked for 
me. It invariably ends up like this, with one job failing to 
fetch dependencies and bringing the rest to a halt.

> \> Run dub test
> Package lu not found in registry at https://code.dlang.org/ 
> (fallbacks registry at > https://code-mirror.dlang.io/, 
> registry at https://dub-registry.herokuapp.com/): HTTP request 
> returned status code 0 ()
> Failed to find any versions for package lu, referenced by 
> dgithubtest ~master
> Error: Process completed with exit code 2.

I made a reduced repo showcasing it; 
https://github.com/zorael/dgithubtest. The example above is taken 
from 
https://github.com/zorael/dgithubtest/actions/runs/952832093, but 
I'm not sure if you can see the logs. Fork the repo if you want 
to try it yourself.

It's always that dependency. I guess I could hack around it and 
`while true; dub fetch` until it succeeds. Is that the only play?

Not sure if this is more a learn or general topic, apologies.


More information about the Digitalmars-d mailing list