Example using Unity Actions to test and build a unity project.
Go to file
Gabriel Le Breton 7a8fa4b427
Trigger builds on main branch push
This is tricky. I wish we could trigger on all branches push, but it seems like internal PRs are run twice when using this:

```yaml

on:
  pull_request: {}
  push: {}
```

So specifying a branch is a bit better somehow. Related discussions:
* https://github.community/t/how-to-run-a-workflow-only-once-even-when-triggered-mutliple-times/16436
* https://github.community/t/how-to-trigger-an-action-on-push-or-pull-request-but-not-both/16662
2020-10-19 12:46:48 -04:00
.github/workflows Trigger builds on main branch push 2020-10-19 12:46:48 -04:00
Assets Move scripts to Scripts folder 2020-10-08 10:26:37 -04:00
Packages Add unity project 2020-10-08 09:45:46 -04:00
ProjectSettings Add SampleScene to build configuration 2020-10-08 10:27:07 -04:00
.gitignore git ignore-io > .gitignore 2020-10-08 09:45:36 -04:00
License.md initial commit 2020-10-08 09:45:12 -04:00
ReadMe.md Add badge from github-actions 2020-10-08 15:07:12 -04:00

unity-actions example

Actions 😎

Example using unity-actions to test and build a unity project. More information at unity-ci.com

Points of interest

License

MIT © Gabriel Le Breton