update github actions #106
Workflow file for this run
This file contains 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: Unity Tests | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
with: | |
path: playground-unity/Library | |
key: playground-unity-Library-${{ hashFiles('playground-unity/Assets/**', 'playground-unity/Packages/**', 'playground-unity/ProjectSettings/**') }} | |
restore-keys: | | |
playground-unity-Library- | |
- uses: game-ci/unity-test-runner@v4 | |
env: | |
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} | |
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} | |
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} | |
with: | |
projectPath: playground-unity | |
testMode: PlayMode | |
githubToken: ${{ secrets.GITHUB_TOKEN }} |