Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions .github/node_upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ if [[ -z "${BASE_TAR_URL:-}" && -z "${BASE_REVISION:-}" ]]; then
exit 1
fi

if [ -n "${GITHUB_ACTIONS:-}" ]; then
CI_OPTIMIZE_SPACE="${CI_OPTIMIZE_SPACE:-"true"}"
fi

nix --version
df -h .

Expand Down Expand Up @@ -104,8 +100,8 @@ fi
export PATH_PREPEND_BASE
export PATH_PREPEND_UPGRADE

# optimize nix store space if requested
if [ "${CI_OPTIMIZE_SPACE:-"false"}" != "false" ]; then
# optimize nix store if running in GitHub Actions
if [ -n "${GITHUB_ACTIONS:-}" ]; then
nix store gc || :
fi

Expand Down
8 changes: 2 additions & 6 deletions .github/regression.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ basic_err_string='echo "Error at line $LINENO"'
# shellcheck disable=SC2064
trap "$basic_err_string" ERR

if [ -n "${GITHUB_ACTIONS:-}" ]; then
CI_OPTIMIZE_SPACE="${CI_OPTIMIZE_SPACE:-"true"}"
fi

nix --version
df -h .

Expand Down Expand Up @@ -163,8 +159,8 @@ cardano_bins_build_all "$NODE_REV" "${CARDANO_CLI_REV:-}"
PATH_PREPEND="$(cardano_bins_print_path_prepend "${CARDANO_CLI_REV:-}")${PATH_PREPEND}"
export PATH_PREPEND

# optimize nix store space if requested
if [ "${CI_OPTIMIZE_SPACE:-"false"}" != "false" ]; then
# optimize nix store if running in GitHub Actions
if [ -n "${GITHUB_ACTIONS:-}" ]; then
nix store gc || :
fi

Expand Down