import Video from '../../src/components/video/video';
GitHub Actions for Unity provide the fastest and easiest way to automatically test and build any Unity project.
There are a few parts to setting up a workflow. Steps may slightly differ depending on each license type.
- Understand how Github Actions work.
- Configure a license for Unity.
- Set up a workflow for your project.
- Result: Merge pull requests with more confidence.
Setting up a workflow is easy!
Create a file called .github/workflows/main.yml
in your repository and configure the following
steps;
- Checkout your repository using Checkout.
- Cache Unity Library folder using Cache.
- Configure your test job using Test Runner.
- Configure your build job using Builder.
- Deploy your application.
Note: all steps will be explained in the next chapters.
Read the official documentation on how to setup a workflow.
Any subsequent steps assume you have read the above.
Unity Actions are using game-ci/docker since unity-builder
version 2. Any version in this list can be used.