Skip to content

Commit

Permalink
Test the action
Browse files Browse the repository at this point in the history
  • Loading branch information
webbertakken committed Nov 30, 2019
1 parent c30bb07 commit 900b158
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -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 }}
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 900b158

Please sign in to comment.