Clear cache on Azure DevOps Pipeline #8452
-
I am running into a problem where old bicep files are fetched from the cache during execution of a pipeline. I build the bicep files with an I am in the process of developing the modules that are published to the bicep registry and change them without bumping the version tag. It would be very tedious to have to do that, so I am looking for a way to clear the bicep cache, or force-restore all bicep file references at the beginning of a deployment. Related issues I've found:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Is this mainly for self-hosted build agents in your case ? |
Beta Was this translation helpful? Give feedback.
-
A |
Beta Was this translation helpful? Give feedback.
A
bicep build --force-restore <bicep-file>
could also work (--force-restore
being akin to--no-restore
) ...?