Osx version not updated in conda

I have installed miniconda some years ago on my mac. Since then I have upgraded to more recent os. Using

conda info

it showns --osx=10.16 while my current os is 11.7.10. I can’t install a package because of that issue.

I’ve tried to update conda using

conda update -n base -c defaults conda --repodata-fn=repodata.json

and update minicondawith

bash Miniconda3-latest-MacOSX-x86_64.sh -u           

but the os remain --osx=10.16.

Any help would be appreaciated!
Thank you