Closed manuelpagliuca closed 5 months ago
Hi @manuelpagliuca
So I tried to force the building pipeline using the --build=missing flag on the conan install command, but this doesn't fetch anything and keeps saying Cached even if the caching key is a new one and nothing is registerd with that.
Sure, the --build=missing
only builds when the binary is not existing, but if the binary is existing in the cache, it will use it, not build it again
CONAN_REVISIONS_ENABLED: 0
This could be related. Using revisions has been encouraged for many years now, working without revisions gives 0 control of modifications. Code can change, but if there is no version bump, nothing will change because revisions are not there, and the cache packages will still be used, because they are all the same.
Furthermore, it seems there are some things too broken there, reading the logs:
arch=x[8](https://github.com/jfrog-group/BIM-ArchiCAD-Plugin/actions/runs/8232144854/job/22508926740#step:9:8)6_64
This is not a valid architecture at llcatch2/2.[13](https://github.com/jfrog-group/BIM-ArchiCAD-Plugin/actions/runs/8232144854/job/22508926740#step:9:13).6:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache fakeit/2.0.9:95972c9e061c46d3c1856bb1ab1d009b4121c367 - Cache
zlib/1.2.11:3fb49604f9c2f729b85ba31[15](https://github.com/jfrog-group/BIM-ArchiCAD-Plugin
Please, read carefully the logs, and try to understand what they are printing, those logs with those things doesn't make any sense to me.
Also, this is the kind of issue we cannot help much, debugging and understanding issues in the users CI that we cannot reproduce is mostly impossible. This is why we insist in having things that we can reproduce on our end. It is fine if you setup a toy project in Github, with GH actions, that is open source and fully self-contained, so it can be reproduced. But otherwise there is simply not enough information that would allow us to understand what is happening. Thanks very much!
HI @memsharded first of all thanks for answering my question there!
I would like to know if there is a way for forcing the download the binaries anyway, or if it is possible to remove the current cache from the workflow.
I solved it by appending the flag --update
on conan install
, thanks anyway!
What is your question?
Good morning, I'm attempting to make a GH Action workflow to run with conan, I've updated the previous ADKs with new binary versions, but it seems that this GH workflow can't access to the ADK and it is still caching something else.
So I tried to force the building pipeline using the
--build=missing
flag on theconan install
command, but this doesn't fetch anything and keeps sayingCached
even if the caching key is a new one and nothing is registerd with that.Then when it reaches the compilation steps it fails because it is searching for a file which is positioned somewhere else in the old ADK.
This is the log of the conan configuration and install, and the other workflow is identical in this
This is the conan install action:
Could you please help me debugging this issue? I feel like I'm missing some pieces of the puzzle, thanks in advance!
Have you read the CONTRIBUTING guide?