See https://github.com/WATonomous/slurm-gha/blob/main/.github/workflows/build-and-publish.yml for an example