Commit Graph

294 Commits

Author SHA1 Message Date
Webber Takken
4fde4e47b6
Refactor action to typescript (#226)
* Refactor to typescript (config part)

* Refactor to typescript (convert extensions, minor fixes)

* Refactor to typescript (move from `action` to `dist`)

* Re-enable integrity-check for dist index.js

* Fix all tests and lints

* fix parsing major versions

* Test patch level to be digits only

* debug

* debug

* uncache

* manual compile

* debug

* debug

* Debug

* Build lib - doh

* remove diff check

* Make kubernetes workflow manual

* Properly generate 3 digit for simple major tags

* Remove ts-ignore

* re-enable cache
2021-03-14 00:44:01 +01:00
David Finol
0934b3f408
Create versioning.yml (#222)
* Create versioning.yml

* Apply suggestions from code review
2021-02-28 10:45:48 -06:00
David Finol
414307a791
Add newline to isShallow output (#216)
* Add newline to isShallow output
2021-02-13 01:40:19 -06:00
David Finol
faefe2f8d7
Only fetch if the repo is shallow (to avoid unnecessary errors) (#215)
* Only fetch if the repo is shallow (to avoid unnecessary errors)

* Update src/model/versioning.test.js
2021-02-12 23:22:23 -06:00
mob-sakai
b0df698630
Security (#214)
* fix(test): embed unity license

* fix(test): checkout head

* fix(test): use `pull_request` event instead of `pull_request_target` event

* fix(test): fix k8s test
2021-02-08 17:06:43 +01:00
David Finol
0d3b5a7a62
Update README.md (#213) 2021-02-06 20:04:40 -05:00
Cris Feo
555660c904
Clf support upm ssh keys (#211)
* make source changes

* compile index.js
2021-02-03 17:39:52 +01:00
David Finol
4fe037e06f Compile action/index.js 2021-01-26 15:18:24 -06:00
David Finol
05b7ccdc04
Remove debug from versioning (#206)
Would like to remove this debug option, as I don't like how it generates many unnecessary warnings, and I don't think it provides any value.
2021-01-26 12:54:07 -06:00
Webber Takken
c7c1841c97
split workflows (#203) 2021-01-23 11:39:42 +01:00
Webber Takken
2cec591baa
Secure licenses (#202) 2021-01-23 11:30:46 +01:00
Webber
08e3347f47 Add cats 2021-01-23 10:30:23 +01:00
Webber Takken
89df68796c
add activation workflow and set retention periods (#201)
* add activation workflow

* Trigger on push as well

* use specific version

* Set more sensible retention periods
2021-01-23 10:06:32 +01:00
Kai Biermeier
56b9864426
allow versions with -alpha,-rc,-rc.0 .... + don't fail build on version cannot be determined (#196)
Closes #163
2021-01-12 14:50:52 +01:00
Webber Takken
5b2e80e1a4
update deprecated workflow (#194) 2021-01-07 23:21:04 +01:00
marekvalenta
c8202c01e7
Pass buildOptions to the build with customParameters (#190)
* Update Builder.cs

* update of buildOptions

buildOptions should be taken into account for build

* missed name
2021-01-05 19:19:16 +01:00
David Finol
9f510401e2
Update CONTRIBUTING.md 2021-01-04 16:08:15 -06:00
David Finol
32acb22fec
Default unityVersion to auto to use ProjectSettings/ProjectVersion.txt (#162) (#188) 2020-12-28 23:36:31 -06:00
Ivan Murashka
602b0b45d7
decode keystore to project folder (#186) 2020-12-11 18:55:53 +01:00
Webber Takken
9c804d98a0
Fix typo 2020-12-06 18:13:32 +01:00
Webber Takken
042fb6ae32
remove anything recognizable as Unity (#184) 2020-12-06 17:57:57 +01:00
David Finol
df7d1e1e25
Update index.js with linux-il2cpp fix (#181)
* Update index.js

* Update index.js with linux-il2cpp fix
2020-11-19 11:05:49 +01:00
David Finol
9707ad7ad5
Convert version major and minor to numbers (#180)
* Convert version major and minor to numbers

* fix linting error

Co-authored-by: Webber Takken <webber@takken.io>
2020-11-18 00:51:10 +01:00
Webber Takken
8eeb848483
add il2cpp support for linux from 2019.3 (#177) 2020-11-14 00:57:44 +01:00
Webber Takken
9e2a1b2d35
Remove duplicate flag batch-mode (#173) 2020-11-09 20:04:56 +01:00
Webber
471bf0bdf0 Merge branch 'BLaZeKiLL-fix/unity-alias' into main 2020-11-01 15:08:06 +01:00
Webber
6c2fbff839 Merge branch 'fix/unity-alias' of https://github.com/BLaZeKiLL/unity-builder into BLaZeKiLL-fix/unity-alias 2020-11-01 15:06:09 +01:00
Webber Takken
17c28995b2
Update action to use main (#168) 2020-10-29 23:21:48 +01:00
BLaZeKiLL
72ab50499d linux platform added 2020-10-24 13:09:01 +05:30
BLaZeKiLL
9269fba307 image tags updated 2020-10-24 12:13:29 +05:30
BLaZeKiLL
dc54ae10a5 Merge branch 'main' of https://github.com/webbertakken/unity-builder into fix/unity-alias 2020-10-22 23:51:43 +05:30
BLaZeKiLL
5417369dba action build 2020-10-22 23:44:36 +05:30
Devashish Lal
21c985b8e9
added -nographics flag to build.sh (#166) 2020-10-22 16:05:41 +02:00
BLaZeKiLL
483b784253 default docker repository updated to new docker repository 2020-10-22 18:24:42 +05:30
Kai Biermeier
e6d3daedbe
revert Fix file ownership issues for self-hosted runners. (#141) (#165) 2020-10-22 10:20:12 +02:00
BLaZeKiLL
046ab3a72d -no-graphics flag removed from build script 2020-10-22 12:27:27 +05:30
BLaZeKiLL
ec0baa5d7b removed redundant xvfb calls (part of the alias) 2020-10-20 17:59:57 +05:30
BLaZeKiLL
5b8f3cf342 refactored to unity-editor alias 2020-10-20 17:29:34 +05:30
Webber Takken
ef74241772
Fix recursive path (#160) 2020-10-12 19:37:26 +02:00
dependabot[bot]
3d7e4a8018
Bump @actions/core from 1.2.4 to 1.2.6 (#158)
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.4 to 1.2.6.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-01 21:30:09 +02:00
Webber Takken
91da660786
remove artifacts older than 21 days (#157) 2020-09-28 19:19:18 +02:00
Webber Takken
f42f7923ed
Add intructions for debugging (#154) 2020-09-27 21:44:14 +02:00
Webber Takken
22bc9a9bad
Allow k8s workflow failures (#152) 2020-09-19 02:41:34 +02:00
Kai Biermeier
6a53a9e853
Solution proposal to Issue Add customImage parameter #150 (#151)
* add customImage attribute

* add one more test for input passing && check for customImage == ''
2020-09-18 18:41:31 +02:00
dependabot-preview[bot]
cccd5074ea [Security] Bump node-fetch from 2.6.0 to 2.6.1
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1. **This update includes a security fix.**
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-12 05:30:21 +00:00
Forrest Jones
977683cd5f
Add buildVersion as action output (#144) (#145) 2020-08-27 02:24:33 +02:00
Webber Takken
89bdaa5e46
Add issue templates and pull request template (#142) 2020-08-22 22:03:44 +02:00
xanantis
24e9c186fd
Fix file ownership issues for self-hosted runners. (#141) 2020-08-22 21:28:57 +02:00
Frostebite
92cfb31622
k8s retry delete during cleanup 2020-08-22 19:03:22 +01:00
Webber Takken
67b76584b8
Cleanup root dir (#133)
* Remove package-lock.json

* Move bootstrap logic into action folder

* Fix relative path

* update index after rebase

* Shell files are executable

* Update yarn.lock

* Update yarn.lock
2020-08-22 19:17:02 +02:00