fix: #170 add RUNNER_TEMP

This commit is contained in:
Casey Lee 2020-04-23 08:18:36 -07:00
parent a9533b05ce
commit a48cce3a78
No known key found for this signature in database
GPG key ID: 1899120ECD0A1784
2 changed files with 2 additions and 2 deletions

View file

@ -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_TOOL_CACHE", "/opt/hostedtoolcache"))
envList = append(envList, fmt.Sprintf("%s=%s", "RUNNER_OS", "Linux")) envList = append(envList, fmt.Sprintf("%s=%s", "RUNNER_OS", "Linux"))
envList = append(envList, fmt.Sprintf("%s=%s", "RUNNER_TEMP", "/tmp"))
binds := []string{ binds := []string{
fmt.Sprintf("%s:%s", "/var/run/docker.sock", "/var/run/docker.sock"), fmt.Sprintf("%s:%s", "/var/run/docker.sock", "/var/run/docker.sock"),

View file

@ -9,8 +9,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-node@v1 - uses: actions/setup-node@v1
with: with:
node-version: 12 node-version: 12.6
registry-url: https://registry.npmjs.org/
- run: which node - run: which node
- name: Install Dependencies - name: Install Dependencies
run: npm install run: npm install