Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2071beb570 | ||
|
|
6e6e6bfc68 | ||
|
|
c1e55db782 |
2
.github/workflows/licensed.yml
vendored
2
.github/workflows/licensed.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
- run: npm ci
|
- run: npm ci
|
||||||
- name: Install licensed
|
- name: Install licensed
|
||||||
run: |-
|
run: |-
|
||||||
cd /tmp
|
cd $RUNNER_TEMP
|
||||||
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.9.2/licensed-2.9.2-linux-x64.tar.gz
|
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.9.2/licensed-2.9.2-linux-x64.tar.gz
|
||||||
sudo tar -xzf licensed.tar.gz
|
sudo tar -xzf licensed.tar.gz
|
||||||
sudo mv licensed /usr/local/bin/licensed
|
sudo mv licensed /usr/local/bin/licensed
|
||||||
|
|||||||
2
dist/.github/workflows/licensed.yml
vendored
2
dist/.github/workflows/licensed.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
- run: npm ci
|
- run: npm ci
|
||||||
- name: Install licensed
|
- name: Install licensed
|
||||||
run: |-
|
run: |-
|
||||||
cd /tmp
|
cd $RUNNER_TEMP
|
||||||
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.9.2/licensed-2.9.2-linux-x64.tar.gz
|
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.9.2/licensed-2.9.2-linux-x64.tar.gz
|
||||||
sudo tar -xzf licensed.tar.gz
|
sudo tar -xzf licensed.tar.gz
|
||||||
sudo mv licensed /usr/local/bin/licensed
|
sudo mv licensed /usr/local/bin/licensed
|
||||||
|
|||||||
2
dist/index.js
vendored
2
dist/index.js
vendored
@@ -3266,7 +3266,7 @@ async function main() {
|
|||||||
await installElixir(elixirVersion, otpMajor)
|
await installElixir(elixirVersion, otpMajor)
|
||||||
console.log(`##[endgroup]`)
|
console.log(`##[endgroup]`)
|
||||||
|
|
||||||
process.env.PATH = `/tmp/.setup-elixir/elixir/bin:/tmp/.setup-elixir/otp/bin:${process.env.PATH}`
|
process.env.PATH = `${process.env.RUNNER_TEMP}/.setup-elixir/elixir/bin:${process.env.RUNNER_TEMP}/.setup-elixir/otp/bin:${process.env.PATH}`
|
||||||
|
|
||||||
if (installRebar === 'true') await exec('mix local.rebar --force')
|
if (installRebar === 'true') await exec('mix local.rebar --force')
|
||||||
if (installHex === 'true') await exec('mix local.hex --force')
|
if (installHex === 'true') await exec('mix local.hex --force')
|
||||||
|
|||||||
2
dist/install-elixir
vendored
2
dist/install-elixir
vendored
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
|
|
||||||
cd /tmp
|
cd $RUNNER_TEMP
|
||||||
|
|
||||||
wget -q https://repo.hex.pm/builds/elixir/${1}${2}.zip
|
wget -q https://repo.hex.pm/builds/elixir/${1}${2}.zip
|
||||||
unzip -d .setup-elixir/elixir ${1}${2}.zip
|
unzip -d .setup-elixir/elixir ${1}${2}.zip
|
||||||
|
|||||||
2
dist/install-otp
vendored
2
dist/install-otp
vendored
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
|
|
||||||
cd /tmp
|
cd $RUNNER_TEMP
|
||||||
|
|
||||||
wget -q -O otp.tar.gz https://repo.hex.pm/builds/otp/ubuntu-14.04/OTP-${1}.tar.gz
|
wget -q -O otp.tar.gz https://repo.hex.pm/builds/otp/ubuntu-14.04/OTP-${1}.tar.gz
|
||||||
mkdir -p .setup-elixir/otp
|
mkdir -p .setup-elixir/otp
|
||||||
|
|||||||
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "setup-elixir",
|
"name": "setup-elixir",
|
||||||
"version": "0.0.0",
|
"version": "1.3.0",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "setup-elixir",
|
"name": "setup-elixir",
|
||||||
"version": "0.0.0",
|
"version": "1.3.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
|
|
||||||
cd /tmp
|
cd $RUNNER_TEMP
|
||||||
|
|
||||||
wget -q https://repo.hex.pm/builds/elixir/${1}${2}.zip
|
wget -q https://repo.hex.pm/builds/elixir/${1}${2}.zip
|
||||||
unzip -d .setup-elixir/elixir ${1}${2}.zip
|
unzip -d .setup-elixir/elixir ${1}${2}.zip
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
|
|
||||||
cd /tmp
|
cd $RUNNER_TEMP
|
||||||
|
|
||||||
wget -q -O otp.tar.gz https://repo.hex.pm/builds/otp/ubuntu-14.04/OTP-${1}.tar.gz
|
wget -q -O otp.tar.gz https://repo.hex.pm/builds/otp/ubuntu-14.04/OTP-${1}.tar.gz
|
||||||
mkdir -p .setup-elixir/otp
|
mkdir -p .setup-elixir/otp
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ async function main() {
|
|||||||
await installElixir(elixirVersion, otpMajor)
|
await installElixir(elixirVersion, otpMajor)
|
||||||
console.log(`##[endgroup]`)
|
console.log(`##[endgroup]`)
|
||||||
|
|
||||||
process.env.PATH = `/tmp/.setup-elixir/elixir/bin:/tmp/.setup-elixir/otp/bin:${process.env.PATH}`
|
process.env.PATH = `${process.env.RUNNER_TEMP}/.setup-elixir/elixir/bin:${process.env.RUNNER_TEMP}/.setup-elixir/otp/bin:${process.env.PATH}`
|
||||||
|
|
||||||
if (installRebar === 'true') await exec('mix local.rebar --force')
|
if (installRebar === 'true') await exec('mix local.rebar --force')
|
||||||
if (installHex === 'true') await exec('mix local.hex --force')
|
if (installHex === 'true') await exec('mix local.hex --force')
|
||||||
|
|||||||
Reference in New Issue
Block a user