Skip to content

Commit b6e892c

Browse files
committed
Shell variable fixes
1 parent 6eb8b63 commit b6e892c

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/cache.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ jobs:
5454
- name: Show health stats
5555
if: ${{ always() }}
5656
run: |
57-
cat $REPO_DIR/_visualize/LAST_$TAG_UPDATE.txt || true
58-
echo "Warning Count: $(grep -c 'Warning' $REPO_DIR/_visualize/LAST_$TAG_UPDATE.log)"
59-
echo "From Timeouts: $(grep -c 'but failed' $REPO_DIR/_visualize/LAST_$TAG_UPDATE.log)"
60-
echo "Limit Reached: $(grep -c 'rate limit exceeded' $REPO_DIR/_visualize/LAST_$TAG_UPDATE.log)"
57+
cat $REPO_DIR/_visualize/LAST_${TAG}_UPDATE.txt || true
58+
echo "Warning Count: $(grep -c 'Warning' $REPO_DIR/_visualize/LAST_${TAG}_UPDATE.log)"
59+
echo "From Timeouts: $(grep -c 'but failed' $REPO_DIR/_visualize/LAST_${TAG}_UPDATE.log)"
60+
echo "Limit Reached: $(grep -c 'rate limit exceeded' $REPO_DIR/_visualize/LAST_${TAG}_UPDATE.log)"
6161
6262
- name: Save log files
6363
if: ${{ always() }}

.github/workflows/update.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,10 @@ jobs:
115115
if: ${{ always() }}
116116
run: |
117117
for TAG in MEMBERS CORE; do
118-
cat $REPO_DIR/_visualize/LAST_$TAG_UPDATE.txt || true
119-
echo "Warning Count: $(grep -c 'Warning' $REPO_DIR/_visualize/LAST_$TAG_UPDATE.log)"
120-
echo "From Timeouts: $(grep -c 'but failed' $REPO_DIR/_visualize/LAST_$TAG_UPDATE.log)"
121-
echo "Limit Reached: $(grep -c 'rate limit exceeded' $REPO_DIR/_visualize/LAST_$TAG_UPDATE.log)"
118+
cat $REPO_DIR/_visualize/LAST_${TAG}_UPDATE.txt || true
119+
echo "Warning Count: $(grep -c 'Warning' $REPO_DIR/_visualize/LAST_${TAG}_UPDATE.log)"
120+
echo "From Timeouts: $(grep -c 'but failed' $REPO_DIR/_visualize/LAST_${TAG}_UPDATE.log)"
121+
echo "Limit Reached: $(grep -c 'rate limit exceeded' $REPO_DIR/_visualize/LAST_${TAG}_UPDATE.log)"
122122
done
123123
124124
- name: Save log files

0 commit comments

Comments
 (0)