Skip to content

Commit

Permalink
ビルド用アクション追加
Browse files Browse the repository at this point in the history
  • Loading branch information
tsubasa-alife committed Nov 3, 2023
1 parent b31ca96 commit ecd2076
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build
on:
workflow_dispatch: {}
jobs:
build:
name: 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-
# Build
- name: Build project
uses: game-ci/unity-builder@v3
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
with:
targetPlatform: WebGL

# Output
- uses: actions/upload-artifact@v3
with:
name: Build
path: build

0 comments on commit ecd2076

Please sign in to comment.