From 900b158ef41d41748404f79dd87fb645ae07a676 Mon Sep 17 00:00:00 2001 From: Webber Date: Sat, 30 Nov 2019 14:48:35 +0100 Subject: [PATCH] Test the action --- .github/workflows/main.yml | 17 +++++++++++++++++ README.md | 14 ++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..7f4e313 --- /dev/null +++ b/.github/workflows/main.yml @@ -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 }} diff --git a/README.md b/README.md index 4601ee1..ae485eb 100644 --- a/README.md +++ b/README.md @@ -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.