Merge pull request #28 from actions/fix-24

6e6e6bf · Jonathan Clem · 2020-05-18 20:40

8 files +8 -8
Message
{commit_body(@commit)}

Files changed

modified .github/workflows/licensed.yml
+1 −1
@@ -19,7 +19,7 @@ jobs:
19 19 - run: npm ci
20 20 - name: Install licensed
21 21 run: |-
22 cd /tmp
22 + cd $RUNNER_TEMP
23 23 curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.9.2/licensed-2.9.2-linux-x64.tar.gz
24 24 sudo tar -xzf licensed.tar.gz
25 25 sudo mv licensed /usr/local/bin/licensed
modified dist/.github/workflows/licensed.yml
+1 −1
@@ -19,7 +19,7 @@ jobs:
19 19 - run: npm ci
20 20 - name: Install licensed
21 21 run: |-
22 cd /tmp
22 + cd $RUNNER_TEMP
23 23 curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.9.2/licensed-2.9.2-linux-x64.tar.gz
24 24 sudo tar -xzf licensed.tar.gz
25 25 sudo mv licensed /usr/local/bin/licensed
modified dist/index.js
+1 −1
@@ -3266,7 +3266,7 @@ async function main() {
3266 3266 await installElixir(elixirVersion, otpMajor)
3267 3267 console.log(`##[endgroup]`)
3268 3268
3269 process.env.PATH = `/tmp/.setup-elixir/elixir/bin:/tmp/.setup-elixir/otp/bin:${process.env.PATH}`
3269 + process.env.PATH = `${process.env.RUNNER_TEMP}/.setup-elixir/elixir/bin:${process.env.RUNNER_TEMP}/.setup-elixir/otp/bin:${process.env.PATH}`
3270 3270
3271 3271 if (installRebar === 'true') await exec('mix local.rebar --force')
3272 3272 if (installHex === 'true') await exec('mix local.hex --force')
modified dist/install-elixir
+1 −1
@@ -2,7 +2,7 @@
2 2
3 3 set -eo pipefail
4 4
5 cd /tmp
5 +cd $RUNNER_TEMP
6 6
7 7 wget -q https://repo.hex.pm/builds/elixir/${1}${2}.zip
8 8 unzip -d .setup-elixir/elixir ${1}${2}.zip
modified dist/install-otp
+1 −1
@@ -2,7 +2,7 @@
2 2
3 3 set -eo pipefail
4 4
5 cd /tmp
5 +cd $RUNNER_TEMP
6 6
7 7 wget -q -O otp.tar.gz https://repo.hex.pm/builds/otp/ubuntu-14.04/OTP-${1}.tar.gz
8 8 mkdir -p .setup-elixir/otp
modified src/install-elixir
+1 −1
@@ -2,7 +2,7 @@
2 2
3 3 set -eo pipefail
4 4
5 cd /tmp
5 +cd $RUNNER_TEMP
6 6
7 7 wget -q https://repo.hex.pm/builds/elixir/${1}${2}.zip
8 8 unzip -d .setup-elixir/elixir ${1}${2}.zip
modified src/install-otp
+1 −1
@@ -2,7 +2,7 @@
2 2
3 3 set -eo pipefail
4 4
5 cd /tmp
5 +cd $RUNNER_TEMP
6 6
7 7 wget -q -O otp.tar.gz https://repo.hex.pm/builds/otp/ubuntu-14.04/OTP-${1}.tar.gz
8 8 mkdir -p .setup-elixir/otp
modified src/setup-elixir.js
+1 −1
@@ -33,7 +33,7 @@ async function main() {
33 33 await installElixir(elixirVersion, otpMajor)
34 34 console.log(`##[endgroup]`)
35 35
36 process.env.PATH = `/tmp/.setup-elixir/elixir/bin:/tmp/.setup-elixir/otp/bin:${process.env.PATH}`
36 + process.env.PATH = `${process.env.RUNNER_TEMP}/.setup-elixir/elixir/bin:${process.env.RUNNER_TEMP}/.setup-elixir/otp/bin:${process.env.PATH}`
37 37
38 38 if (installRebar === 'true') await exec('mix local.rebar --force')
39 39 if (installHex === 'true') await exec('mix local.hex --force')

Parents: 413f332 c1e55db