mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-07 20:35:33 -04:00
Specify build args as specific container options
This commit is contained in:
parent
423c860e51
commit
149b366059
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
@ -8,6 +8,7 @@ jobs:
|
|||||||
name: Build for WebGL 🕸
|
name: Build for WebGL 🕸
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
version: [2019.2.11f1, 2018.4.13f1]
|
version: [2019.2.11f1, 2018.4.13f1]
|
||||||
target: [webgl, android]
|
target: [webgl, android]
|
||||||
@ -26,9 +27,13 @@ jobs:
|
|||||||
- name: Build project
|
- name: Build project
|
||||||
id: buildStep
|
id: buildStep
|
||||||
uses: ./
|
uses: ./
|
||||||
|
container:
|
||||||
|
options:
|
||||||
|
- --env IMAGE_VERSION=${{ matrix.version }}
|
||||||
|
- --env IMAGE_TARGET=${{ matrix.target }}
|
||||||
|
- --build-arg IMAGE_VERSION=${{ matrix.version }}
|
||||||
|
- --build-arg IMAGE_TARGET=${{ matrix.target }}
|
||||||
env:
|
env:
|
||||||
IMAGE_VERSION: ${{ matrix.version }}
|
|
||||||
IMAGE_TARGET: ${{ matrix.target }}
|
|
||||||
UNITY_PROJECT_PATH: test-project
|
UNITY_PROJECT_PATH: test-project
|
||||||
BUILD_NAME: TestBuild
|
BUILD_NAME: TestBuild
|
||||||
BUILD_TARGET: WebGL
|
BUILD_TARGET: WebGL
|
||||||
|
Loading…
Reference in New Issue
Block a user