From 0e6d78a9c9d98eeb06c6deefb49c347ab9b0282e Mon Sep 17 00:00:00 2001 From: Parya Rastegar Date: Fri, 23 Aug 2024 03:14:55 +0330 Subject: [PATCH] feat: add ci to project --- .github/workflows/release.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4f6cd8c..edcefbb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 .