Commit Graph

11 Commits

Author SHA1 Message Date
Sam Farmer
88f44c2410
Update main.yml 2020-10-29 10:58:03 -05:00
Gabriel Le Breton
15fcbf34c2
Build on some other branches too in example (#4)
* Fix warnings in pipeline and add other branches

Turns out builder needs them, but not the tester, I'm not sure why exactly. Anyway, this should cover most cases now.

* Revert projectPath and unityVersion removal

I think the warnings are just wrong so I added this back
2020-10-20 02:22:12 +00:00
Gabriel Le Breton
45b231938b
Simplify unity-actions workflow (#1)
* Simplify unity-actions workflow

* Remove WebGL from build as it's currently failing

* 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 16:53:30 +00:00
Gabriel Le Breton
9f0672b9e4 Add -nographics to see if it solves windows builds 2020-10-08 16:10:12 -04:00
Gabriel Le Breton
e65839d130 Update workflows to use @master 2020-10-08 16:01:45 -04:00
Gabriel Le Breton
c766450a25 Skip tests for now 2020-10-08 10:08:56 -04:00
Gabriel Le Breton
09ea17e4a3 Comment customParameter line because I don't have any 2020-10-08 10:08:18 -04:00
Gabriel Le Breton
105cc65715 Update project path to build from root directory 2020-10-08 10:07:28 -04:00
Gabriel Le Breton
d65219aede Remove some platforms for the example
I am currently interested in windows, linux and mac builds
2020-10-08 10:07:12 -04:00
Gabriel Le Breton
74ede7ac38 Set project version to 2020.1.7f1 2020-10-08 10:06:02 -04:00
Gabriel Le Breton
6d1f37acc6 Add avanced example from https://unity-ci.com/docs/github/getting-started 2020-10-08 10:01:55 -04:00