Skip to content

Commit

Permalink
temp: fake build for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
plyr4 committed Feb 17, 2024
1 parent 1dd5f12 commit 2b35350
Showing 1 changed file with 20 additions and 15 deletions.
35 changes: 20 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,21 +58,26 @@ jobs:
name: WebGL-Template
path: WebGL

- name: cache Library
uses: actions/cache@v3
with:
path: Library
key: Library-${{ matrix.targetPlatform }}
restore-keys: Library-${{ matrix.targetPlatform }}

- name: build project for ${{ matrix.targetPlatform }}
uses: game-ci/unity-builder@v4
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
targetPlatform: ${{ matrix.targetPlatform }}
# - name: cache Library
# uses: actions/cache@v3
# with:
# path: Library
# key: Library-${{ matrix.targetPlatform }}
# restore-keys: Library-${{ matrix.targetPlatform }}
#
# - name: build project for ${{ matrix.targetPlatform }}
# uses: game-ci/unity-builder@v4
# env:
# UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
# UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
# UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
# with:
# targetPlatform: ${{ matrix.targetPlatform }}

- name: fake build
run: |
mkdir -p build/${{ matrix.targetPlatform }}
echo "fake build for ${{ matrix.targetPlatform }}" > build/${{ matrix.targetPlatform }}/README.md
- name: upload ${{ matrix.targetPlatform }} build
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 2b35350

Please sign in to comment.