Preserve multiline bash scripts in pipelines
This commit is contained in:
parent
3915e121bd
commit
c2f1690b0d
3 changed files with 10 additions and 5 deletions
|
|
@ -13,7 +13,8 @@ steps:
|
||||||
environment:
|
environment:
|
||||||
CI: "true"
|
CI: "true"
|
||||||
commands:
|
commands:
|
||||||
- bash -lc '
|
- |
|
||||||
|
bash -lc '
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
npm config set fund false
|
npm config set fund false
|
||||||
npm config set audit false
|
npm config set audit false
|
||||||
|
|
@ -43,7 +44,8 @@ steps:
|
||||||
FOUNDRY_DIR: /root/.foundry
|
FOUNDRY_DIR: /root/.foundry
|
||||||
PATH: /root/.foundry/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
PATH: /root/.foundry/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||||
commands:
|
commands:
|
||||||
- bash -lc '
|
- |
|
||||||
|
bash -lc '
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y curl git build-essential pkg-config libssl-dev
|
apt-get install -y curl git build-essential pkg-config libssl-dev
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,8 @@ steps:
|
||||||
PATH: /root/.foundry/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
PATH: /root/.foundry/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||||
HARB_ENV: BASE_SEPOLIA_LOCAL_FORK
|
HARB_ENV: BASE_SEPOLIA_LOCAL_FORK
|
||||||
commands:
|
commands:
|
||||||
- bash -lc '
|
- |
|
||||||
|
bash -lc '
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y curl git build-essential pkg-config libssl-dev
|
apt-get install -y curl git build-essential pkg-config libssl-dev
|
||||||
|
|
@ -48,7 +49,8 @@ steps:
|
||||||
BASE_SEPOLIA_RPC:
|
BASE_SEPOLIA_RPC:
|
||||||
from_secret: base_sepolia_rpc
|
from_secret: base_sepolia_rpc
|
||||||
commands:
|
commands:
|
||||||
- bash -lc '
|
- |
|
||||||
|
bash -lc '
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y curl git build-essential pkg-config libssl-dev
|
apt-get install -y curl git build-essential pkg-config libssl-dev
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,8 @@ steps:
|
||||||
FOUNDRY_DIR: /root/.foundry
|
FOUNDRY_DIR: /root/.foundry
|
||||||
PATH: /root/.foundry/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
PATH: /root/.foundry/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||||
commands:
|
commands:
|
||||||
- bash -lc '
|
- |
|
||||||
|
bash -lc '
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y curl git build-essential bc
|
apt-get install -y curl git build-essential bc
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue