Update unity.yml #13
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: Test Unity | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Run tests | |
permissions: write-all | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Run Unity tests | |
uses: game-ci/unity-test-runner@v3 | |
env: | |
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} | |
with: | |
githubToken: ${{ secrets.GITHUB_TOKEN }} | |
- name: Upload results | |
uses: actions/upload-artifact@v3.1.3 | |
with: | |
name: unity-test-results | |
path: artifacts |