What I used for my test usually https://github.com/cderv/test-actions/blob/90f9195ea220d459e6f71cb4be21ed6e0609b454/.github/workflows/tinytex-bin.yaml