qligier / fhir-ig-action

A GitHub Action for FHIR IGs.
https://github.com/marketplace/actions/fhir-ig-action
MIT License
2 stars 3 forks source link

Why are the FHIR R4 examples being downloaded to the cache? #6

Open Healthedata1 opened 1 year ago

Healthedata1 commented 1 year ago

I see this in the build logs near the end of the process:

Generate Summaries                                                               (03:09.328)
Generating Summary Outputs                                                       (03:09.329)
Installing hl7.fhir.r4.examples#4.0.1 to the package cache
  Fetching:
Installing hl7.fhir.r4.examples#4.0.1 done.

Why are FHIR R4 examples being downloaded to the cache, and why at the end and not the beginning like the rest of the packages?

in my local build, there is this line:

Ignore Dependency on Core FHIR hl7.fhir.r4.examples#4.0.1, from package 'hl7.fhir.uv.sdc#3.0.0' (00:07.822)

I could not find a parameter that controls this

qligier commented 1 year ago

HI @Healthedata1! I have to investigate this. I don't know why it is downloaded so late in the build process.

One reason I could think of that would explain the difference between the local and action builds is that your local cache may already contain the package, whereas the action starts with an empty cache. If that is the reason, then the message "Ignore Dependency" would be quite unclear.