From a48cce3a78d915d7c9e6bd28248926578caaf1c4 Mon Sep 17 00:00:00 2001 From: Casey Lee Date: Thu, 23 Apr 2020 08:18:36 -0700 Subject: [PATCH] fix: #170 add RUNNER_TEMP --- pkg/runner/run_context.go | 1 + pkg/runner/testdata/node/push.yml | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/runner/run_context.go b/pkg/runner/run_context.go index fdf996c..5823d43 100644 --- a/pkg/runner/run_context.go +++ b/pkg/runner/run_context.go @@ -79,6 +79,7 @@ func (rc *RunContext) startJobContainer() common.Executor { envList = append(envList, fmt.Sprintf("%s=%s", "RUNNER_TOOL_CACHE", "/opt/hostedtoolcache")) envList = append(envList, fmt.Sprintf("%s=%s", "RUNNER_OS", "Linux")) + envList = append(envList, fmt.Sprintf("%s=%s", "RUNNER_TEMP", "/tmp")) binds := []string{ fmt.Sprintf("%s:%s", "/var/run/docker.sock", "/var/run/docker.sock"), diff --git a/pkg/runner/testdata/node/push.yml b/pkg/runner/testdata/node/push.yml index e8a284d..4dfc80d 100644 --- a/pkg/runner/testdata/node/push.yml +++ b/pkg/runner/testdata/node/push.yml @@ -9,8 +9,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 12 - registry-url: https://registry.npmjs.org/ + node-version: 12.6 - run: which node - name: Install Dependencies run: npm install