Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ianayl committed Feb 4, 2025
1 parent 82c1248 commit ff8675a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devops/actions/benchmarking/aggregate/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ runs:
# DO NOT use inputs.lookback_days directly, only use SANITIZED_TIMESTAMP.
SANITIZED_LOOKBACK_DAYS="$(echo '${{ inputs.lookback_days }}' | grep -o "^[0-9]$")"
if [ -z "$SANITIZED_TIMESTAMP" ]; then
echo "Please ensure inputs.lookback_days is a number.
echo "Please ensure inputs.lookback_days is a number."
exit 1
fi
SANITIZED_TIMESTAMP="$(date -d "$SANITIZED_LOOKBACK_DAYS days ago" +%Y%m%d_%H%M%S)"
Expand Down

0 comments on commit ff8675a

Please sign in to comment.