Skip to content

Commit

Permalink
Merge pull request #29 from IwamotoKakeru/feat/game-ci
Browse files Browse the repository at this point in the history
feat: webgl_build.ymlを追加
  • Loading branch information
IwamotoKakeru authored Apr 21, 2024
2 parents 2c9511d + 9383b50 commit d74ee52
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/webgl_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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 # ここは各自プロジェクトに合わせて設定

0 comments on commit d74ee52

Please sign in to comment.