You can find example workflows in "Publishing and installing a package with GitHub Actions" or in any of these GitHub Actions guides:
Example workflows for publishing a package
To help you get started with your own custom workflows, review some example workflows for publishing packages.