diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bde82e9f..7e458cf9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,6 +29,10 @@ jobs: # Unity Test Runnerを実行 (エディットモードテスト) - name: Run Edit Mode Tests uses: game-ci/unity-test-runner@v4 + env: + UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} + UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} + UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} with: projectPath: ./ unityVersion: ${{ matrix.unityVersion }} @@ -45,6 +49,10 @@ jobs: # Unity Test Runnerを実行 (プレイモードテスト) - name: Run Play Mode Tests uses: game-ci/unity-test-runner@v4 + env: + UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} + UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} + UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} with: projectPath: ./ unityVersion: ${{ matrix.unityVersion }}