Updated workflows.
This commit is contained in:
8
.github/workflows/builds/unity.yaml
vendored
8
.github/workflows/builds/unity.yaml
vendored
@@ -5,6 +5,8 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.PACKAGE_APIKEY }}
|
GITEA_TOKEN: ${{ secrets.PACKAGE_APIKEY }}
|
||||||
|
SKIP_CACHE: ${{ vars.SKIP_CACHE && vars.SKIP_CACHE || 'false' }}
|
||||||
|
ZIP_COMPRESSION_LEVEL: ${{ vars.ZIP_COMPRESSION_LEVEL && vars.ZIP_COMPRESSION_LEVEL || '9' }}
|
||||||
|
|
||||||
UNITY_COMPRESSION_LEVEL: lz4hc
|
UNITY_COMPRESSION_LEVEL: lz4hc
|
||||||
UNITY_ZIP_ON_COMPLETE: false
|
UNITY_ZIP_ON_COMPLETE: false
|
||||||
@@ -52,7 +54,8 @@ jobs:
|
|||||||
executeMethod: ${{ matrix.platform.method }}
|
executeMethod: ${{ matrix.platform.method }}
|
||||||
noGraphics: ${{ env.NO_GRAPHICS }}
|
noGraphics: ${{ env.NO_GRAPHICS }}
|
||||||
artifactSuffix: ${{ matrix.platform.suffix || matrix.platform.os }}
|
artifactSuffix: ${{ matrix.platform.suffix || matrix.platform.os }}
|
||||||
compression-level: 9
|
compression-level: ${{ env.ZIP_COMPRESSION_LEVEL }}
|
||||||
|
skipRestore: ${{ env.SKIP_CACHE }}
|
||||||
|
|
||||||
build-unity-master2:
|
build-unity-master2:
|
||||||
name: "Build ${{ matrix.platform.os }}"
|
name: "Build ${{ matrix.platform.os }}"
|
||||||
@@ -82,4 +85,5 @@ jobs:
|
|||||||
executeMethod: ${{ matrix.platform.method }}
|
executeMethod: ${{ matrix.platform.method }}
|
||||||
noGraphics: ${{ env.NO_GRAPHICS }}
|
noGraphics: ${{ env.NO_GRAPHICS }}
|
||||||
artifactSuffix: ${{ matrix.platform.suffix || matrix.platform.os }}
|
artifactSuffix: ${{ matrix.platform.suffix || matrix.platform.os }}
|
||||||
compression-level: 9
|
compression-level: ${{ env.ZIP_COMPRESSION_LEVEL }}
|
||||||
|
skipRestore: ${{ env.SKIP_CACHE }}
|
||||||
|
|||||||
Reference in New Issue
Block a user