Skip to content

Commit 900b158

Browse files
committed
Test the action
1 parent c30bb07 commit 900b158

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

.github/workflows/main.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Actions 😎
2+
on: [push]
3+
4+
jobs:
5+
requestActivation:
6+
name: Request activation ✔
7+
runs-on: ubuntu-latest
8+
steps:
9+
# Checkout repository (required to test local actions)
10+
- name: Checkout repository
11+
uses: actions/checkout@v1
12+
13+
# Activate Unity
14+
- name: Activate Unity
15+
uses: ./
16+
env:
17+
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,20 @@ collection too.
1616

1717
## Usage
1818

19+
Create or edit the file called `.github/workflows/activation.yml` and add a job to it.
20+
21+
```yaml
22+
name: Acquire activation file
23+
on: [push]
24+
jobs:
25+
requestActivation:
26+
name: Request activation ✔
27+
runs-on: ubuntu-latest
28+
steps:
29+
```
30+
31+
Continue to either the personal license or professional license section below.
32+
1933
#### Personal license
2034
2135
1. Follow the **activation** section from [request action](https://github.com/marketplace/actions/unity-request-activation-file) to set `UNITY_LICENSE` variable.

0 commit comments

Comments
 (0)