Sweat is about heat
You sweat to cool down, so a cool, air conditioned gym, loose clothing, and long rests between sets all keep your body temperature and sweat low even during effective lifting.
Not sweating usually means a cool gym, low intensity, or good hydration, not that the workout failed.
Sweat is temperature regulation, not a measure of a good workout. If the gym is cold, you rest long between sets, or you are well hydrated and fit, you may barely sweat while still training hard. Muscle grows from load and effort, not perspiration, so judge your session by whether you added reps or weight, not by how wet your shirt is.
You sweat to cool down, so a cool, air conditioned gym, loose clothing, and long rests between sets all keep your body temperature and sweat low even during effective lifting.
Fitter people and well hydrated people often sweat less for a given effort, or sweat more efficiently. Individual sweat rates vary hugely and say nothing about the quality of your training.
The metrics that matter are whether your weights, reps, and volume are climbing. A heavy strength session with long rests can build plenty of muscle while barely raising a sweat, whereas a sweaty session in a hot room may just mean it was warm.
Not sweating usually means a cool gym, low intensity, or good hydration, not that the workout failed.