Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zakstucke committed Jun 18, 2024
1 parent 24223a1 commit dc9ea05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/actions/install-redis/action.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: install redis
description: "install redis without starting a server"
description: "install redis without starting a server (ONLY IF NOT WINDOWS)"
runs:
using: composite
steps:
- uses: shogo82148/actions-setup-redis@v1
if: runner.os != 'Windows'
with:
redis-version: "latest"
auto-start: false
4 changes: 2 additions & 2 deletions dev_scripts/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ ensure_redis () {
in_ci () {
# Check if any of the CI/CD environment variables are set
if [ -n "$GITHUB_ACTIONS" ] || [ -n "$TRAVIS" ] || [ -n "$CIRCLECI" ] || [ -n "$GITLAB_CI" ]; then
0
return 0 # Return true
else
1
return 1 # Return false
fi
}

Expand Down

0 comments on commit dc9ea05

Please sign in to comment.