reformat, fix projectPath

This commit is contained in:
2024-09-28 14:53:44 -05:00
parent 0b690b7619
commit d6549a7074

View File

@@ -1,38 +1,39 @@
name: Build Unity Project name: Build Unity Project
on: on:
push: push:
branches: branches:
- master - master
pull_request: pull_request:
branches: branches:
- master - master
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
unityVersion: [2022.3.46f1] targetPlatform:
targetPlatform: [WebGL] - WebGL
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Build Unity Project - name: Build Unity Project
uses: game-ci/unity-builder@v4 uses: game-ci/unity-builder@v4
env: env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with: with:
unityVersion: auto projectPath: ./Galagan/
targetPlatform: ${{ matrix.targetPlatform }} unityVersion: auto
targetPlatform: ${{ matrix.targetPlatform }}
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: Build name: Build
path: build path: build