From 82553c89a408c5ef826a17cdfb31dbd407dc2525 Mon Sep 17 00:00:00 2001 From: Lennard Beers Date: Sat, 3 Dec 2022 20:11:20 +0100 Subject: [PATCH] fix: update unity auth --- .github/workflows/deploy-client-linux.yml | 8 ++++++++ .github/workflows/deploy-client-windows.yml | 8 ++++++++ .github/workflows/deploy-server.yml | 4 ++++ 3 files changed, 20 insertions(+) diff --git a/.github/workflows/deploy-client-linux.yml b/.github/workflows/deploy-client-linux.yml index df900f4..05a47d8 100644 --- a/.github/workflows/deploy-client-linux.yml +++ b/.github/workflows/deploy-client-linux.yml @@ -29,6 +29,10 @@ jobs: - name: Running unit tests uses: game-ci/unity-test-runner@v2.0-alpha-2 + env: + UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} + UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} + UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }} with: artifactsPath: ./deploy-client-test-results/ @@ -63,6 +67,10 @@ jobs: - name: Building Client uses: game-ci/unity-builder@v2.0-alpha-6 id: build + env: + UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} + UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} + UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }} with: targetPlatform: StandaloneLinux64 buildsPath: ./deploy-client-builds/ diff --git a/.github/workflows/deploy-client-windows.yml b/.github/workflows/deploy-client-windows.yml index 9c0bab8..c7e8fe8 100644 --- a/.github/workflows/deploy-client-windows.yml +++ b/.github/workflows/deploy-client-windows.yml @@ -29,6 +29,10 @@ jobs: - name: Running unit tests uses: game-ci/unity-test-runner@v2.0-alpha-2 + env: + UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} + UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} + UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }} with: artifactsPath: ./deploy-client-test-results/ @@ -63,6 +67,10 @@ jobs: - name: Building Client uses: game-ci/unity-builder@v2.0-alpha-6 id: build + env: + UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} + UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} + UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }} with: targetPlatform: StandaloneWindows64 buildsPath: ./deploy-client-builds/ diff --git a/.github/workflows/deploy-server.yml b/.github/workflows/deploy-server.yml index 8299a47..ce2045d 100644 --- a/.github/workflows/deploy-server.yml +++ b/.github/workflows/deploy-server.yml @@ -48,6 +48,10 @@ jobs: - name: Build Server uses: game-ci/unity-builder@v2.1.2 id: build + env: + UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} + UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} + UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }} with: targetPlatform: StandaloneLinux64 buildsPath: ./deploy-server-builds/