From 4d0b6e6db17787e3c1ca445d3d951eba974fb530 Mon Sep 17 00:00:00 2001 From: Markus Date: Mon, 29 Mar 2021 05:06:22 +0700 Subject: [PATCH] Pass on USYM_UPLOAD_AUTH_TOKEN if defined (#234) To automatically upload symbols to unity, we need to define the `USYM_UPLOAD_AUTH_TOKEN` variable. Currently the build container ignores this variable, even if it's defined in the github action. ``` 2021-03-26T02:35:35.5938747Z time="2021-03-26T02:35:35Z" level=fatal msg="Please provide an auth token with USYM_UPLOAD_AUTH_TOKEN environment variable" ``` --- src/model/docker.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/model/docker.ts b/src/model/docker.ts index 98e44eff..f379f04c 100644 --- a/src/model/docker.ts +++ b/src/model/docker.ts @@ -47,6 +47,7 @@ class Docker { --env UNITY_PASSWORD \ --env UNITY_SERIAL \ --env UNITY_VERSION="${version}" \ + --env USYM_UPLOAD_AUTH_TOKEN \ --env PROJECT_PATH="${projectPath}" \ --env BUILD_TARGET="${platform}" \ --env BUILD_NAME="${buildName}" \