diff --git a/README.md b/README.md index 56803f4..2a38181 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/request-activation/README.md b/request-activation/README.md index 1ed0c24..7fba2f3 100644 --- a/request-activation/README.md +++ b/request-activation/README.md @@ -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 }} diff --git a/request-manual-activation-file/README.md b/request-manual-activation-file/README.md index b3d99ae..2c2b423 100644 --- a/request-manual-activation-file/README.md +++ b/request-manual-activation-file/README.md @@ -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.