Move local player behaviour into a PlayerController as it actually …
#21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build project | |
| on: [ push ] | |
| jobs: | |
| build: | |
| name: Build for ${{ matrix.targetPlatform }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| unityVersion: | |
| - 2022.3.47f1 | |
| targetPlatform: | |
| - StandaloneWindows64 | |
| - Android | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| lfs: true | |
| - uses: actions/cache@v3 | |
| with: | |
| path: Library | |
| key: Library-${{ matrix.targetPlatform }} | |
| restore-keys: Library- | |
| - if: matrix.targetPlatform == 'Android' | |
| uses: jlumbroso/[email protected] | |
| - uses: game-ci/unity-builder@v4 | |
| env: | |
| UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} | |
| UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} | |
| UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} | |
| with: | |
| unityVersion: ${{ matrix.unityVersion }} | |
| targetPlatform: ${{ matrix.targetPlatform }} | |
| - uses: actions/upload-artifact@v3 | |
| with: | |
| name: Build-${{ matrix.targetPlatform }} | |
| path: build/${{ matrix.targetPlatform }} |