Skip to content

Commit

Permalink
Chore: memurai
Browse files Browse the repository at this point in the history
  • Loading branch information
pustovitDmytro committed Feb 11, 2022
1 parent c3c7980 commit 9986fba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/actions/action-redis/dist/index.js

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions .github/actions/action-redis/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ async function run(){

if(process.platform=='win32'){
console.log('Windows');
await exec(`choco install memurai-developer`);

return;
}

if(process.platform=='darwin'){
console.log('MacOS');

await exec(`brew install redis@`+redisVersion);
await exec(`brew install redis`);

await exec(`redis-server --version`);

Expand All @@ -29,7 +31,7 @@ async function run(){
}

await exec(`sudo add-apt-repository ppa:redislabs/redis`);
await exec(`sudo apt-get install -y redis-tools redis-server=`+redisVersion);
await exec(`sudo apt-get install -y redis-tools redis-server`);

await exec(`redis-server --version`);

Expand Down

0 comments on commit 9986fba

Please sign in to comment.