Test the action

This commit is contained in:
Webber
2019-11-30 14:48:35 +01:00
committed by Webber Takken
parent c30bb07614
commit 900b158ef4
2 changed files with 31 additions and 0 deletions

17
.github/workflows/main.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: Actions 😎
on: [push]
jobs:
requestActivation:
name: Request activation ✔
runs-on: ubuntu-latest
steps:
# Checkout repository (required to test local actions)
- name: Checkout repository
uses: actions/checkout@v1
# Activate Unity
- name: Activate Unity
uses: ./
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}

View File

@@ -16,6 +16,20 @@ collection too.
## Usage
Create or edit the file called `.github/workflows/activation.yml` and add a job to it.
```yaml
name: Acquire activation file
on: [push]
jobs:
requestActivation:
name: Request activation ✔
runs-on: ubuntu-latest
steps:
```
Continue to either the personal license or professional license section below.
#### Personal license
1. Follow the **activation** section from [request action](https://github.com/marketplace/actions/unity-request-activation-file) to set `UNITY_LICENSE` variable.