Skip to content

Update unity-tests.yml #11

Update unity-tests.yml

Update unity-tests.yml #11

Workflow file for this run

name: Build Unity
on: [push, pull_request]
jobs:
build-on-ubuntu:
name: Build ${{ matrix.targetPlatform }}
runs-on: ubuntu-latest
strategy:
matrix:
targetPlatform:
- StandaloneWindows64
- WebGL
- Android
- iOS
- StandaloneOSX
- StandaloneLinux64
unityVersion:
- 2019.4.5f1
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Unity Builder
uses: game-ci/[email protected]
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
with:
targetPlatform: ${{ matrix.targetPlatform }}
unityVersion: ${{ matrix.unityVersion }}
- name: Upload artifact
uses: actions/[email protected]
with:
name: Frog-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}
build-on-windows:
name: Build ${{ matrix.targetPlatform }}
runs-on: windows-2019
strategy:
matrix:
targetPlatform:
- WSAPlayer
- tvOS
unityVersion:
- 2019.4.5f1
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Unity Builder
uses: game-ci/[email protected]
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
targetPlatform: ${{ matrix.targetPlatform }}
unityVersion: ${{ matrix.unityVersion }}
- name: Upload artifact
uses: actions/[email protected]
with:
name: Frog-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}