Skip to content

Release Build

Release Build #6

Workflow file for this run

name: Release Build
on:
workflow_dispatch: {}
jobs:
build:
name: Release Build my project
runs-on: ubuntu-latest
steps:
# Checkout
- name: Checkout repository
uses: actions/checkout@v3
with:
lfs: true
# Cache
- uses: actions/cache@v3
with:
path: Library
key: Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
restore-keys: |
Library-
# Release Build
- name: Release Build project
uses: game-ci/unity-builder@v3
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
with:
targetPlatform: WebGL
unityVersion: 2022.3.12f1
# ReleaseBuildForCICDのメソッド呼び出し
buildMethod: ProjectBuilder.ReleaseBuildForCICD
# Output
- uses: actions/upload-artifact@v3
with:
name: Build
path: Build