Example GitHub Actions workflows for making Unity builds.
Created by Calum Spring for the 'Automate!' lightning talk at Technically Games @ MIGW 2025.
Released here under a Creative Commons license, free for you to use and modify in your own projects :)
This repo contains 3 example build scripts for using GitHub Actions and self-hosted runners to make Unity builds:
simple.yml
- Just 4 steps to make and deploy a Unity build.multiple_platforms.yml
- Demonstrates one way to extend your build pipeline to include Windows, Mac and Linux builds.discord_notify.yml
- Demonstrates one way you can add notifications to your build pipeline, using a Discord webhook.
Make sure to start with simple.yml
, it's both the simplest and the most comprehensively documented.