Skip to content

Commit

Permalink
use cache and bring back env var
Browse files Browse the repository at this point in the history
  • Loading branch information
konraddysput committed Feb 2, 2024
1 parent 30e523b commit cca2225
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,20 @@ jobs:
mv ./Android ./Editor ./iOS ./Runtime ./Tests ./Windows ./package.json ./${{ matrix.projectPath }}/Assets/Plugins/backtrace-unity
ls ./
find ./${{ matrix.projectPath }}/Assets/Plugins/backtrace-unity
- uses: actions/cache@v3
with:
path: |
${{ matrix.projectPath }}/Library
${{ matrix.projectPath }}/Assets
${{ matrix.projectPath }}/Packages
key: Library-${{ hashFiles('${{ matrix.projectPath }}/Assets/**', '${{ matrix.projectPath }}/Packages/**', '${{ matrix.projectPath }}/ProjectSettings/**') }}

- uses: game-ci/unity-test-runner@v4
id: tests
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
projectPath: ./${{ matrix.projectPath }}
unityVersion: auto
Expand Down

0 comments on commit cca2225

Please sign in to comment.