Create a Github action that'll tar files every time I push to 'main'

Hey! New to github actions and now I have a repository called Distro_wallpapers that collects wallpapers from distros. Anyway, I have a raw folder that has tar files for the folders, now every time I push to the master branch, I clone the repository, compress the tar files, then upload them to github. Now it’ll be really great if I could make a github action that’ll tar all of those folders, then push them to /raw/[distro-name]. Then it would save me a lot of time so I could focus on other things, now I can’t make it as I don’t have much experience, so could anyone help me?