Files
ScreenCapture/.gitea/workflows/build.yaml
cooney 92b95e4b74
Some checks failed
Unity-ALF-The-End-Real / activation (push) Successful in 57s
Unity-Cross-Platform-Build / Build for StandaloneOSX (push) Failing after 1m9s
Unity-Cross-Platform-Build / Build for StandaloneWindows64 (push) Failing after 1m8s
Proxmox-Runner-Test / hello-job (push) Successful in 5s
Update .gitea/workflows/build.yaml
2026-04-01 18:16:14 +09:00

40 lines
1.1 KiB
YAML

name: Unity-Cross-Platform-Build
on: [push]
jobs:
build:
name: Build for ${{ matrix.targetPlatform }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
targetPlatform:
- StandaloneWindows64 # 윈도우용
- StandaloneOSX # 맥용
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Cache Library folder
uses: actions/cache@v3
with:
path: Library
key: Library-${{ matrix.targetPlatform }}
restore-keys: Library-
- name: Build Project
uses: game-ci/unity-builder@v3
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
targetPlatform: ${{ matrix.targetPlatform }}
unityVersion: 6000.2.15f1
buildName: MyGame-${{ matrix.targetPlatform }}
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: Build-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}