feat: webgl_build.ymlを追加 #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
# developへのPRマージをトリガーとしてワークフローを開始する | |
pull_request: | |
branches: | |
- develop | |
types: [closed] | |
# 手動実行デバッグ用 | |
workflow_dispatch: {} | |
jobs: | |
build: | |
name: Build my project | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
# Build | |
- name: Build project | |
uses: game-ci/unity-builder@v2 | |
env: | |
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} | |
with: | |
targetPlatform: WebGL | |
unityVersion: 2019.4.31f1 # ここは各自プロジェクトに合わせて設定 |