mirror of
https://github.com/game-ci/unity-actions.git
synced 2026-01-28 20:19:07 +08:00
Update readme: licensing
This commit is contained in:
@@ -32,7 +32,7 @@ Contributions are welcomed!
|
||||
Create a workflow in `.github/workflows/main.yml`.
|
||||
|
||||
- Look at the examples in `main.yml` from this repo.
|
||||
- To activate license: [readme](./activate/README.md).
|
||||
- To activate license: [readme](./request-activation/README.md).
|
||||
|
||||
## Credits
|
||||
|
||||
|
||||
@@ -8,15 +8,16 @@ Activates personal of professional license of unity.
|
||||
|
||||
1. Goto `Repository` > `Settings` > `Secrets`
|
||||
2. Create a new secret called `UNITY_LICENSE`
|
||||
3. Find the license file:
|
||||
- Windows: `C:/ProgramData/Unity/Unity_lic.ulf`
|
||||
- MacOS: `/Library/Application Support/Unity/Unity_lic.ulf`
|
||||
4. Copy the contents into the value field of the secret `UNITY_LICENSE`
|
||||
3. Request manual activation file using the
|
||||
[request action](../request-manual-activation-file/README.md)
|
||||
and use it to acquire your license from
|
||||
[unity licensing](https://license.unity3d.com/manual).
|
||||
4. Copy the contents of the license file into the value field of the secret `UNITY_LICENSE`
|
||||
5. Use the action as follows:
|
||||
|
||||
```yaml
|
||||
- name: Activate Unity
|
||||
uses: webbertakken/unity-actions/activate@master
|
||||
uses: webbertakken/unity-actions/request-activation@master
|
||||
env:
|
||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
||||
```
|
||||
@@ -32,7 +33,7 @@ Activates personal of professional license of unity.
|
||||
|
||||
```yaml
|
||||
- name: Activate Unity
|
||||
uses: webbertakken/unity-actions/activate@master
|
||||
uses: webbertakken/unity-actions/request-activation@master
|
||||
env:
|
||||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
|
||||
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
|
||||
|
||||
@@ -4,5 +4,5 @@ Acquires manual activation file for activating CI license.
|
||||
|
||||
## Usage
|
||||
|
||||
Please refer to `.github/actions/request.yml` in this repo while the repo is
|
||||
Please refer to `.github/actions/main.yml` in this repo while the repo is
|
||||
still a work in progress.
|
||||
|
||||
Reference in New Issue
Block a user