Fixed bug: error occurs when restart after fail #173
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 Test | |
on: | |
push: | |
branches: | |
- dev | |
pull_request: | |
branches: | |
- main | |
- dev | |
permissions: | |
actions: write | |
checks: write | |
contents: read | |
pull-requests: read | |
statuses: write | |
jobs: | |
test: | |
name: Unity Tests | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
# Test | |
- name: Run tests | |
uses: game-ci/unity-test-runner@v4 | |
with: | |
unityVersion: 2021.3.42f1 | |
githubToken: ${{ secrets.GITHUB_TOKEN }} | |
env: | |
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }} | |
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} | |
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} |