Skip to content

game-ciを利用したunityテストワークフローを作成 #1

game-ciを利用したunityテストワークフローを作成

game-ciを利用したunityテストワークフローを作成 #1

Workflow file for this run

name: Run-Tests
on: push
jobs:
test:
runs-on: windows-2022
strategy:
matrix:
unity-version:
- 2019.4.31f1
- 2022.3.6f1
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
lfs: true
- name: Run tests
uses: game-ci/unity-test-runner@v4
env:
UNITY_LICENSE: ${{ secrests.UNITY_LICENSE }}

Check failure on line 21 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Run-Tests

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 21, Col: 26): Unrecognized named-value: 'secrests'. Located at position 1 within expression: secrests.UNITY_LICENSE .github/workflows/test.yml (Line: 22, Col: 24): Unrecognized named-value: 'secrests'. Located at position 1 within expression: secrests.UNITY_EMAIL
UNITY_EMAIL: ${{ secrests.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrests.UNITY_PASSWORD }}
with:
unityVersion: ${{ matrix.unity-version }}
githubToken: ${{ secrets.GITHUB_TOKEN }}