Documenter.jl; Documentation workflow run failed for main branch ERROR in GitHub

Following the “Documenter.jl” documentation I pushed documetation.yml file to GitHub. For some reason receiving the below error. Could you please help me with that?

Run julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
   Resolving package versions...
  Installing known registries into `~/.julia`
       Added registry `General` to `~/.julia/registries/General`
ERROR: Unsatisfiable requirements detected for package TSFrames [9f90e835]:
 TSFrames [9f90e835] log:
 ├─possible versions are: 0.1.0-0.2.0 or uninstalled
 ├─restricted to versions 0.2 by PortfolioAnalytics [55d897a4], leaving only versions 0.2.0
 │ └─PortfolioAnalytics [55d897a4] log:
 │   ├─possible versions are: 0.1.0 or uninstalled
 │   └─PortfolioAnalytics [55d897a4] is fixed to version 0.1.0
 └─restricted by julia compatibility requirements to versions: uninstalled — no versions left

Looks like you are using a Julia version that doesn’t support TSFrames. Perhaps you are using Julia 1.6 while TSFrames is only for Julia 1.7 and above?

Thanks very much @fredrikekre,

Indeed It was happening on GitHub. Your answer gave me a very good hint.

I was following the " Hosting Documentation · Documenter.jl (juliadocs.org)" and copied the content of the documentation.yml but did not change the version from 1.6 to 1.8:

        with:
          version: '1.6'

After changing it to 1.8, it works now.

        with:
          version: '1.8'