From 02ff2d03e12fd9f3f9b0b1b6bee6ddbc12ebb5a2 Mon Sep 17 00:00:00 2001 From: Webber Date: Wed, 4 Dec 2019 21:29:28 +0100 Subject: [PATCH] Add activate step --- .github/workflows/main.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1f16c9a..08d8bad 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,6 +10,12 @@ jobs: - name: Checkout repository uses: actions/checkout@v1 + # Activate license + - name: Activate Unity + uses: webbertakken/unity-activate@v1 + env: + UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} + # Configure test runner - name: Run tests id: allTests @@ -34,6 +40,12 @@ jobs: - name: Checkout repository uses: actions/checkout@v1 + # Activate license + - name: Activate Unity + uses: webbertakken/unity-activate@v1 + env: + UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} + # Configure test runner - name: Run tests id: editMode @@ -58,6 +70,12 @@ jobs: - name: Checkout repository uses: actions/checkout@v1 + # Activate license + - name: Activate Unity + uses: webbertakken/unity-activate@v1 + env: + UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} + # Configure test runner - name: Run tests id: playMode @@ -82,6 +100,12 @@ jobs: - name: Checkout repository uses: actions/checkout@v1 + # Activate license + - name: Activate Unity + uses: webbertakken/unity-activate@v1 + env: + UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} + # Configure first test runner - name: Tests in editmode 📝 uses: ./