Develop Build #4
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: Develop Build | |
on: | |
workflow_dispatch: {} | |
jobs: | |
build: | |
name: Develop 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- | |
# Develop Build | |
- name: Develop Build project | |
uses: game-ci/unity-builder@v2 | |
env: | |
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} | |
with: | |
targetPlatform: WebGL | |
unityVersion: 2022.3.12f1 | |
# DevelopBuildForCICDのメソッド呼び出し | |
buildMethod: ProjectBuilder.DevelopBuildForCICD | |
# Output | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: Build | |
path: build |