Skip to content

Restructuring scene heirarchy to reduce dangerous object castings. (#14) #64

Restructuring scene heirarchy to reduce dangerous object castings. (#14)

Restructuring scene heirarchy to reduce dangerous object castings. (#14) #64

Workflow file for this run

name: Unity Editmode Test
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
environment: production
steps:
# Checkout repository
- name: Checkout repository
uses: actions/checkout@v4
# Cache
- uses: actions/cache@v3
with:
path: Library
key: Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
restore-keys: |
Library-
# Run Unity Tests
- name: Run Unity Tests
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: .
unityVersion: 2021.3.12f1
testMode: editmode
githubToken: ${{ secrets.GITHUB_TOKEN }}
dockerCpuLimit: 2
dockerMemoryLimit: 8g
# Build the Unity project
- name: Build project
uses: game-ci/unity-builder@v4
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
projectPath: .
unityVersion: 2021.3.12f1
targetPlatform: StandaloneWindows64
# Upload build artifact
- name: Upload build artifact
uses: actions/upload-artifact@v3
with:
name: Build
path: build