diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9be3805..5629a05 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,12 +17,22 @@ jobs: unityVersion: - 2022.3.42f1 targetPlatform: - - WebGL + # - WebGL + # - StandaloneLinux64 + - StandaloneWindows64 + # - StandaloneOSX steps: - name: Checkout repository uses: actions/checkout@v4 + - uses: actions/cache@v3 + with: + path: ./Galagan/Library + key: ${{ runner.os }}-Library-${{ hashFiles('./Galagan/ProjectSettings/ProjectSettings.asset') }} + restore-keys: | + ${{ runner.os }}-Library- + - name: Build Unity Project uses: game-ci/unity-builder@v4 env: @@ -37,5 +47,5 @@ jobs: - name: Upload artifact uses: actions/upload-artifact@v4 with: - name: Build - path: build + name: galagan-${{ matrix.targetPlatform }} + path: build/${{ matrix.targetPlatform }}