#5 Work on workflow. Bumped packages to build v72 to match the curren… #2
Workflow file for this run
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: Developer CI/CD for testing purposes | |
| on: | |
| push: | |
| branches-ignore: | |
| - main | |
| jobs: | |
| build: | |
| name: Build AR_Pool_Application | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Checkout | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| lfs: true | |
| # Cache | |
| - uses: actions/cache@v3 | |
| with: | |
| path: UnityProject/AR_Pool/Library | |
| key: Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }} | |
| restore-keys: | | |
| Library- | |
| #Build | |
| - name: Build project | |
| uses: game-ci/unity-builder@v4 | |
| env: | |
| UNITY_LICENSE: ${{secrets.UNITY_LICENSE}} | |
| UNITY_EMAIL: ${{secrets.UNITY_EMAIL}} | |
| UNITY_PASSWORD: ${{secrets.UNITY_PASSWORD}} | |
| with: | |
| targetPlatform: Android | |
| # env: | |
| # UNITY_LICENSE: ${{ secrets.UNITY_LICENSE}} | |
| # jobs: | |
| # checkLicense: | |
| # name: Check for the Unity license ☑️ | |
| # runs-on: ubuntu-latest | |
| # steps: | |
| # - name: Fail - No license ☠️ | |
| # if: ${{ !startsWith(env.UNITY_LICENSE, '<') }} | |
| # run: exit 1 | |