Skip to content

Commit

Permalink
feat: add ci to project
Browse files Browse the repository at this point in the history
  • Loading branch information
logicalangel committed Aug 22, 2024
1 parent a7af8a4 commit 0e6d78a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@ jobs:

# Cache
- name: Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: Library
key: Library
restore-keys: Library-

- name: Set up Unity
uses: game-ci/unity-setup@v2
# Build
- name: Build project
uses: game-ci/unity-builder@v4
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
unityVersion: 2021.3.5f1 # Set your Unity version

- name: Test and Build
run: |
unity-editor -quit -batchmode -projectPath ./ -runTests -logFile /dev/stdout
unity-editor -quit -batchmode -projectPath ./ -executeMethod BuildScript.Build # Replace with your build method
targetPlatform: WebGL

- uses: montudor/action-zip@v1
with:
args: zip -qq -r dynamicpixels-unity.zip .
Expand Down

0 comments on commit 0e6d78a

Please sign in to comment.