Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rdcm/unitygithubactions
Unity CI/CD proof of concept, for creation *.unitypackage as a build artifact.
https://github.com/rdcm/unitygithubactions
Last synced: 22 days ago
JSON representation
Unity CI/CD proof of concept, for creation *.unitypackage as a build artifact.
- Host: GitHub
- URL: https://github.com/rdcm/unitygithubactions
- Owner: rdcm
- License: mit
- Created: 2021-01-12T17:18:04.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-13T11:32:22.000Z (almost 4 years ago)
- Last Synced: 2024-10-12T00:15:00.779Z (3 months ago)
- Homepage:
- Size: 36.1 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# UnityGitHubActions
## Setup
- run docker container `docker run -it gableroux/unity3d:2019.3.12f1`
- checkout to unity directory `cd /opt/Unity/Editor/`
- create manual activation file `./Unity -quit -batchmode -nographics -logFile -createManualActivationFile` output: `Unity_v2019.3.12f1.alf`
- activate Unity via UI and get a licence file: `./Unity_v2019.x.ulf` (for more detail see video)
- after activation copy `./Unity_v2019.x.ulf` to docker in editor folder: `/opt/Unity/Editor/`
- create encrypted unity cert in docker `openssl aes-256-cbc -e -in ./Unity_v2019.x.ulf -out ./Unity_v2019.x.ulf.enc -k {{ sault }}`
- copy encrypted file from docker to project into `.github` folder `docker cp {{ container Name/id }}:/opt/Unity/Editor/Unity_v2019.x.ulf.enc {{ project_path }}/.github/`
- setup GitHub `UNITY_LICENSE_DECRYPT_KEY` at GitHub secrets
- for more details see source video and `https://github.com/rdcm/UnityGitHubActions/blob/main/.github/` folder content## Know Issues
- if run OpenSSL outside docker, possible errors on decrypt stage due to OpenSSL version mismatch
- this github actions pipeline adapted for creation `*.unitypackage` file## Links
- source video: https://www.youtube.com/watch?v=-txXtAfViEQ