Skip to content

Bump game-ci/unity-builder from 3.1.0 to 4.0.1 #26

Bump game-ci/unity-builder from 3.1.0 to 4.0.1

Bump game-ci/unity-builder from 3.1.0 to 4.0.1 #26

Workflow file for this run

name: Build Unity game
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
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-latest:
name: Build ${{ matrix.targetPlatform }}
runs-on: windows-latest
strategy:
matrix:
targetPlatform:
- 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/upload-artifact@v3
with:
name: Frog-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}
build-on-windows-2019:
name: Build ${{ matrix.targetPlatform }}
runs-on: windows-2019
strategy:
matrix:
targetPlatform:
- WSAPlayer
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/upload-artifact@v3
with:
name: Frog-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}