Files
Galagan/.github/workflows/build.yml
2024-09-28 14:53:44 -05:00

40 lines
816 B
YAML

name: Build Unity Project
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
targetPlatform:
- WebGL
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build Unity 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: ./Galagan/
unityVersion: auto
targetPlatform: ${{ matrix.targetPlatform }}
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: Build
path: build