Skip to content

Commit

Permalink
Try to fix script section
Browse files Browse the repository at this point in the history
  • Loading branch information
TheByronHimes committed May 15, 2024
1 parent 025d956 commit 3563d61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cache-changed-services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,14 @@ jobs:
- name: Check for cache hit
id: check-cache
run: |
if [ -f services.txt ]; then
if ls -f services.txt; then
echo "Cache hit, reading services.txt"
CHANGED_SERVICES=$(cat services.txt)
echo "services=$CHANGED_SERVICES" >> $GITHUB_ENV
else
echo "Cache miss, no services.txt found"
echo "services=none" >> $GITHUB_ENV
fi
- name: Run get-changed-services if cache miss
id: run-get-changed-services
Expand Down

0 comments on commit 3563d61

Please sign in to comment.