|
1 | | -# Unity - Request Activation File |
2 | | - |
3 | | -[](https://github.com/webbertakken/unity-request-manual-activation-file/actions?query=branch%3Amaster+event%3Apush+workflow%3A"Actions%20%F0%9F%98%8E") |
4 | | - |
5 | | ---- |
| 1 | +<div align="center"> |
| 2 | +<a href="https://github.com/marketplace/actions/unity-request-activation-file"> |
| 3 | +<img width="800" src="media/UnityRequestActivation-Logo.png" alt="Unity Request Activation"> |
| 4 | +</a> |
| 5 | +<br /> |
| 6 | +<br /> |
6 | 7 |
|
7 | 8 | GitHub Action for |
8 | 9 | [requesting the manual activation file](https://github.com/marketplace/actions/unity-request-activation-file) for Unity. |
9 | 10 |
|
10 | | -Part of the |
11 | | -[Unity Actions](https://github.com/webbertakken/unity-actions) |
12 | | -collection. |
13 | | - |
14 | | ---- |
15 | | - |
16 | | -Use this action to acquire a Unity personal license. Required in order to |
17 | | -use the |
18 | | -[Activate](https://github.com/webbertakken/unity-actions#activate), |
19 | | -[Test](https://github.com/webbertakken/unity-actions#test) and |
20 | | -[Build](https://github.com/webbertakken/unity-actions#build) |
21 | | -actions. |
22 | | - |
23 | | -### Documentation |
| 11 | +Part of the <a href="https://unity-ci.com"><img height="30" src="media/UnityCI-ReferenceLogo.png" alt="Unity CI"></a> open source project. |
| 12 | +<br /> |
| 13 | +<br /> |
24 | 14 |
|
25 | | -See the |
26 | | -[Unity Actions](https://github.com/webbertakken/unity-actions) |
27 | | -collection repository for workflow documentation and reference implementation. |
28 | | - |
29 | | -## Usage |
30 | | - |
31 | | -Create a file called `.github/workflows/activation.yml` and add a job to it. |
32 | | - |
33 | | -```yaml |
34 | | -name: Acquire activation file |
35 | | -on: [push] |
36 | | -jobs: |
37 | | - activation: |
38 | | - name: Request manual activation file 🔑 |
39 | | - runs-on: ubuntu-latest |
40 | | - steps: |
41 | | -``` |
42 | | -
|
43 | | -To **configure** this action, add this step and set the id. |
44 | | -
|
45 | | -```yaml |
46 | | -# Request manual activation file |
47 | | -- name: Request manual activation file |
48 | | - id: getManualLicenseFile |
49 | | - uses: webbertakken/unity-request-manual-activation-file@v1.1 |
50 | | - with: |
51 | | - unityVersion: 2019.2.11f1 |
52 | | -``` |
| 15 | +[](https://github.com/webbertakken/unity-request-manual-activation-file/actions?query=branch%3Amaster+event%3Apush+workflow%3A"Actions%20%F0%9F%98%8E") |
| 16 | +<br /> |
| 17 | +<br /> |
53 | 18 |
|
54 | | -You use the id to **upload the output file** like so: |
| 19 | +</div> |
55 | 20 |
|
56 | | -```yaml |
57 | | -# Upload artifact (Unity_v20XX.X.XXXX.alf) |
58 | | -- name: Expose as artifact |
59 | | - uses: actions/upload-artifact@v1 |
60 | | - with: |
61 | | - name: ${{ steps.getManualLicenseFile.outputs.filePath }} |
62 | | - path: ${{ steps.getManualLicenseFile.outputs.filePath }} |
63 | | -``` |
| 21 | +## How to use |
64 | 22 |
|
65 | | -Commit and push your workflow definition. |
| 23 | +Find the |
| 24 | +[docs](https://unity-ci.com/docs/github) |
| 25 | +on the Unity CI |
| 26 | +[website](https://unity-ci.com/). |
66 | 27 |
|
67 | | -## Activation |
| 28 | +## Related actions |
68 | 29 |
|
69 | | -Follow these (one-time) steps for simple activation. |
| 30 | +Visit the |
| 31 | +<a href="https://github.com/webbertakken/unity-actions"><img height="30" src="media/UnityActions-ReferenceLogo.png" alt="Unity Actions"></a> |
| 32 | +status repository for related Actions. |
70 | 33 |
|
71 | | -- Download the manual activation file that now appeared as an artifact. |
72 | | -- Visit [license.unity3d.com](https://license.unity3d.com/manual) and upload it. |
73 | | -- You should now receive your license file (Unity_v20XX.x.ulf) as a download. |
74 | | -- Open `Github` > `Your repository` > `Settings` > `Secrets`. |
75 | | -- Add a new secret called `UNITY_LICENSE` and copy the contents your license file into it. |
| 34 | +## Community |
76 | 35 |
|
77 | | -You can now use the |
78 | | -[Activate](https://github.com/webbertakken/unity-actions#activate), |
79 | | -[Test](https://github.com/webbertakken/unity-actions#test) and |
80 | | -[Build](https://github.com/webbertakken/unity-actions#build) |
81 | | -actions. |
| 36 | +Feel free to join us on |
| 37 | +<a href="http://unity-ci.com/discord"><img height="30" src="media/Discord-Logo.svg" alt="Discord" /></a> |
| 38 | +and engage with the community. |
82 | 39 |
|
83 | | -## More actions |
| 40 | +## Contributing |
84 | 41 |
|
85 | | -Visit |
86 | | -[Unity Actions](https://github.com/webbertakken/unity-actions) |
87 | | -to find related actions for Unity. |
| 42 | +To help out sharpen the documentation, please find the docs [repository](https://github.com/Unity-CI/Website). |
88 | 43 |
|
89 | | -Feel free to contribute. |
| 44 | +To contribute to this project, kindly read the [contribution guide](./CONTRIBUTING.md). |
90 | 45 |
|
91 | 46 | ## Licence |
92 | 47 |
|
|
0 commit comments