Commit Graph

45 Commits (dd2ac8ed250d4a41cffde46e7c301b549e7e61d1)

Author SHA1 Message Date
Paul Pacheco dd2ac8ed25
fix unary operator expected error
The if comparisons can sometimes compare an empty variable, which gives errors like this:
```
/steps/run_tests.sh: line 71: [: =: unary operator expected
```

This PR should fix the script to address that problem. 
See an explanation of why this error happens here:
https://codefather.tech/blog/bash-unary-operator-expected/
2021-09-25 12:00:07 -05:00
David Finol 7563db4160
Use exit code to fail when code compile fails (#143) 2021-08-28 12:48:23 -05:00
Jason Millard dfd8e1e91f
update findAnnotationPoint to use first entry with non-zero line number (#138)
* update findAnnotationPoint to use first entry with non-zero line number

* misc: improve comment in findAnnotationPoint
2021-07-22 19:22:55 +02:00
Jason Millard c56b66a41b
input: add support for tildes in folder names (#135) 2021-07-20 17:39:53 +02:00
David Finol 6838fda7a4
Improve error message (#132) 2021-07-01 06:39:05 -05:00
David Finol cf55f1c921
Fix workflow error (#128)
* Fix workflow error

Add checks for annotation.message and annotation.raw_details

* Fix workflow error

* Fix error when using Assert.Fail()
2021-05-30 18:52:46 -05:00
ivan-hernandez-scopely 19661e2da7
Using SSH_AUTH_SOCK (ssh agent forwarding) to pull upm private repos (#124)
* using SSH_AUTH_SOCK (ssh agent forwarding) to pull upm private repos

* sshAgent as input parameter

* yarn run prettier --write "src/**/*.{js,ts}"

* yarn run lint --fix && yarn build

* reverted results-meta.ts (changed because ran prettier --check "src/**/*.js" without && eslint src)

* removed RUN apt-get update && apt-get install -y openssh-client. This change needs to be done upstream. See game-ci/docker#117
2021-05-28 23:55:58 +02:00
David Finol 0674feac28
Fix workflow error (#125)
* Fix workflow error

Add checks for annotation.message and annotation.raw_details

* Fix workflow error
2021-05-23 17:22:53 -05:00
Webber Takken 1fcc491cbe
Accept PascalCase for testmodes EditMode and PlayMode (#115)
* Accept PascalCase for testmodes EditMode and PlayMode

* update index
2021-05-09 18:35:40 +02:00
Txema Martinez 694c315276
Run license activation in an empty directory (#109)
* Run license activation in an empty directory

* Create license directory in entrypoint.sh
2021-03-22 16:14:11 +01:00
David Finol fffbf11b2a
Small results-check refactor for debugging (#104)
* Small results-check refactor for debugging

* Fix #103
2021-03-06 00:55:03 -06:00
David Finol 215f660c06
Check GitHub token (#99)
* Reeplace createCheck option with check for githubToken

* Fix index.js
2021-02-28 00:44:56 -06:00
David Finol 43d90c252f
Feature/create check (#97) 2021-02-27 12:13:19 -06:00
Vladimir Kryukov 2656f4e108
Cherry pick try-catch block to output results if build is failing (#90) 2021-01-17 21:55:27 +01:00
Vladimir Kryukov 26807aaf05
Dependency bump (#88)
* Bump all dependencies to the latest versions

* Fix prettifier configuration after bump; Fix issues found by new versions of prettifier & eslint;

* Add information about yarn lint & test into CONTRIBUTING.md; Add better description of `yarn build` step in the pipeline
2021-01-11 01:05:18 +01:00
David Finol 0c3e710069
Get unityVersion from ProjectVersion.txt (#84) 2020-12-28 12:02:31 +01:00
mob-sakai a067c3d5ab
fix: parameter 'customImage' is not working (#83) 2020-12-17 14:30:51 +01:00
Devashish Lal 31cd755121
docker repo migrated (#77) 2020-11-26 18:19:17 +01:00
mob-sakai 29899d84e8 feat: support custom image 2020-11-26 14:15:18 +01:00
Webber c4e44617e2 Add intructions for debugging 2020-09-27 21:37:15 +02:00
Collin Dauphinee a4e8475a2f Adding useHostNetwork option 2020-04-02 12:29:34 +02:00
Webber 31ae95179d fix dist file and improve automation 2020-03-09 23:58:40 +01:00
litefeel cd86c7302b Apply merge request suggestions 2020-03-09 23:57:17 +01:00
litefeel 21831e61ad Fixed compatibility 2020-03-09 23:57:17 +01:00
litefeel 7c1cba9a39 Change UNITY_LICENSE_PATH to UNITY_LICENSE_FILE 2020-03-09 23:57:17 +01:00
litefeel 29e179f50b Add UNITY_LICENSE_PATH 2020-03-09 23:57:17 +01:00
Webber b518514f36 add dist build 2020-02-14 23:44:54 +01:00
Alex Evgrashin c85e37ca1f Fixed always passing action 2020-02-14 23:25:40 +01:00
Alex Evgrashin 58f580c801 Editor log now saves to artifacts folder 2020-02-13 21:58:50 +01:00
qwe321qwe321qwe321 da74d9ff8c Add Custom Parameters in PlayMode Testing 2020-02-12 00:40:29 +01:00
Webber e9b4db003e Separate custom parameters 2020-02-11 20:46:27 +01:00
Webber 54d8d414ea Add updated dist file 2020-02-10 00:18:52 +01:00
Webber 5423e61ad7 fix custom parameters 2020-02-01 20:45:21 +01:00
Webber b181c9cdbe Add missing env 2020-01-31 01:15:59 +01:00
Webber c937b9ed6c Update docs 2020-01-31 01:15:59 +01:00
Webber a18b837919 Update and test folder regex 2020-01-31 01:15:59 +01:00
Webber 24fe88806a Save the best for last 2020-01-31 01:15:59 +01:00
Webber e2f2badc29 Update workflow to use with instead of env 2020-01-31 01:15:59 +01:00
Webber 3ccd77fd44 Add custom parameters 2020-01-31 01:15:59 +01:00
Webber 686f633329 Add steps to dockerfile 2020-01-31 01:15:59 +01:00
Webber 28154ea36e Enforce real folder names 2020-01-31 01:15:59 +01:00
Webber 2ca91788af Split up steps and implement license management 2020-01-31 01:15:59 +01:00
Webber 545600f75b Make image variable 2020-01-31 01:15:59 +01:00
Webber d6c937fe37 Add action logic 2020-01-31 01:15:59 +01:00
Webber d105f8c891 Move dockerfile and entrypoint to action folder 2020-01-31 01:15:59 +01:00