Skip to content

Merge pull request #16 from mackysoft/fix/blank-scene-active #77

Merge pull request #16 from mackysoft/fix/blank-scene-active

Merge pull request #16 from mackysoft/fix/blank-scene-active #77

Workflow file for this run

name: Build
on:
push:
branches-ignore:
- documentation
- gh-pages
jobs:
build:
name: ${{ matrix.targetPlatform }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
targetPlatform:
- StandaloneOSX # Build a macOS standalone (Intel 64-bit).
- StandaloneWindows64 # Build a Windows 64-bit standalone.
- StandaloneLinux64 # Build a Linux 64-bit standalone.
- iOS # Build an iOS player.
- Android # Build an Android .apk standalone app.
- WebGL # WebGL.
steps:
# Checkout
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
lfs: true
# Cache
- name: Cache
uses: actions/cache@v3
with:
path: Library
key: Library-${{ matrix.targetPlatform }}
restore-keys: Library-
# Build
- name: Build
uses: game-ci/unity-builder@v2
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE_2021 }}
with:
targetPlatform: ${{ matrix.targetPlatform }}
unityVersion: 2021.3.24f1