Skip to content
This repository was archived by the owner on Oct 24, 2023. It is now read-only.

Commit 234a2b4

Browse files
committed
Install rsync (needed for old esy)
1 parent 6cc36b7 commit 234a2b4

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.circleci/config.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,20 @@ cache_key: &cache_key
55

66
steps: &steps
77
- checkout
8+
89
- run:
910
name: Setup environment variables
1011
command: |
1112
echo 'export NPM_CONFIG_PREFIX="$HOME/.npm-global"' >> $BASH_ENV
1213
echo 'export PATH="$NPM_CONFIG_PREFIX/bin:$PATH"' >> $BASH_ENV
14+
echo "export RELEASE_OS=$(uname | tr '[A-Z]' '[a-z]')" >> $BASH_ENV
15+
16+
- run:
17+
name: Ensure rsync is installed
18+
command: |
19+
if [ "$RELEASE_OS" = "linux" ]; then
20+
sudo apt-get install -qy rsync;
21+
fi
1322
1423
# Download and cache dependencies
1524
- restore_cache:

0 commit comments

Comments
 (0)