diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index affe4ae..1189289 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,25 +23,15 @@ jobs: restore-keys: | Library- - - name: Setup Unity - uses: kuler90/setup-unity@v1.0.8 + - uses: game-ci/unity-builder@v2 + env: + UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} + UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} + UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} with: - unity-modules: windows-il2cpp - - - name: Activate Unity - uses: kuler90/activate-unity@v1.1.2 - with: - unity-username: ${{ secrets.UNITY_USERNAME }} - unity-password: ${{ secrets.UNITY_PASSWORD }} - unity-authenticator-key: ${{ secrets.UNITY_AUTHENTICATOR_KEY }} - - - name: Build WACVR - uses: kuler90/build-unity@v1.0.4 - with: - build-target: StandaloneWindows64 - build-path: ./build/WACVR.exe + targetPlatform: StandaloneWindows64 - name: Upload artifact uses: actions/upload-artifact@v3.0.0 with: - path: ./build/ + path: build