To upload files on iCloud, follow the steps given below:
- Go to Settings and then choose System Settings
- Click on your Apple ID and then choose iCloud
- Select iCloud Drive
- Toggle on the Sync this Mac option
- Now, select all those files that you want to upload and then press Done.