set up license for every unity invocation
This commit is contained in:
		| @@ -23,7 +23,7 @@ pipeline: | ||||
|       - test "$UNITY_VERSION" = $(grep "m_EditorVersion:" "${UNITY_DIR}/ProjectSettings/ProjectVersion.txt" | cut -d' ' -f2) | ||||
|   setup-license: | ||||
|     image: ${IMAGE}:${UNITY_VERSION}-base-${IMAGE_VERSION} | ||||
|     commands: &license | ||||
|     commands: | ||||
|       - chmod +x ${UNITY_DIR}/ci/before_script.sh | ||||
|       - ${UNITY_DIR}/ci/before_script.sh | ||||
|     secrets: [unity_license] | ||||
| @@ -31,7 +31,7 @@ pipeline: | ||||
|     image: ${IMAGE}:${UNITY_VERSION}-base-${IMAGE_VERSION} | ||||
|     group: test | ||||
|     commands: | ||||
|       - <<: *license | ||||
|       - ${UNITY_DIR}/ci/before_script.sh | ||||
|       - chmod +x ${UNITY_DIR}/ci/test.sh | ||||
|       - ${UNITY_DIR}/ci/test.sh | ||||
|     environment: | ||||
| @@ -44,7 +44,7 @@ pipeline: | ||||
|     image: ${IMAGE}:${UNITY_VERSION}-base-${IMAGE_VERSION} | ||||
|     group: test | ||||
|     commands: | ||||
|       - <<: *license | ||||
|       - ${UNITY_DIR}/ci/before_script.sh | ||||
|       - chmod +x ${UNITY_DIR}/ci/test.sh | ||||
|       - ${UNITY_DIR}/ci/test.sh | ||||
|     environment: | ||||
| @@ -57,7 +57,7 @@ pipeline: | ||||
|     image: ${IMAGE}:${UNITY_VERSION}-windows-mono-${IMAGE_VERSION} | ||||
|     group: build | ||||
|     commands: | ||||
|       - <<: *license | ||||
|       - ${UNITY_DIR}/ci/before_script.sh | ||||
|       - chmod +x ./ci/build.sh | ||||
|       - ./ci/build.sh | ||||
|     environment: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user