Gltf format does not export any animation

im trying to export a animation on gltf format but no animation is exported apart from the model and armature. can anyone please help me? i already tried the default export options but the animations still wont export.

From Blender glTF documentation (https://docs.blender.org/manual/en/latest/addons/import_export/scene_gltf2.html) certain types of animation can be exported and others can’t. If you have more than one animation you’ll need to make sure they’re all associated with the model somehow — active, stashed, or NLA Tracks. Beyond that you may need to share more details like a .blend, or a file a bug on https://github.com/KhronosGroup/glTF-Blender-IO.

here’s the blend file: https://www.mediafire.com/file/fbl4k9kkdvhpsbc/gun_animatiooons.blend/file really sorry for the late response, also how do i associate nla tracks and stashed animations with the model?

The .blend already has NLA tracks, shown below:

As of Blender 2.91.0, the last three actions shoot, shoot_empty, and reload_noshoot will be exported and can be selected on https://gltf-viewer.donmccurdy.com/ for example, they appear to work. I also had to enable “Apply Modifiers” in the export options. The three actions that are appended onto the same NLA Track do not export because multiple strips per track aren’t supported currently (https://github.com/KhronosGroup/glTF-Blender-IO/issues/763), but if you put each strip into a separate NLA Track that should work fine.