diff --git a/.github/workflows/unity.yml b/.github/workflows/unity.yml index a4054bf..76c1276 100644 --- a/.github/workflows/unity.yml +++ b/.github/workflows/unity.yml @@ -26,22 +26,24 @@ jobs: uses: actions/checkout@v4 - name: Unity Builder - uses: game-ci/unity-builder@v3.1.0 + uses: game-ci/unity-builder@v4.0.1 env: UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} + UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} + UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} with: targetPlatform: ${{ matrix.targetPlatform }} unityVersion: ${{ matrix.unityVersion }} - name: Upload artifact - uses: actions/upload-artifact@v3.1.3 + uses: actions/upload-artifact@v3 with: name: Frog-${{ matrix.targetPlatform }} path: build/${{ matrix.targetPlatform }} build-on-windows: name: Build ${{ matrix.targetPlatform }} - runs-on: windows-2019 + runs-on: windows-2022 strategy: matrix: targetPlatform: @@ -54,7 +56,7 @@ jobs: uses: actions/checkout@v4 - name: Unity Builder - uses: game-ci/unity-builder@v3.1.0 + uses: game-ci/unity-builder@v4.0.1 env: UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} @@ -64,7 +66,7 @@ jobs: unityVersion: ${{ matrix.unityVersion }} - name: Upload artifact - uses: actions/upload-artifact@v3.1.3 + uses: actions/upload-artifact@v3 with: name: Frog-${{ matrix.targetPlatform }} path: build/${{ matrix.targetPlatform }}