Skip to content

Commit

Permalink
fix: yaml syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
BlairCurrey committed Feb 18, 2024
1 parent dea7ed6 commit 0ab0b00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/train-spread-predictor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
# errors if matchup file is empty
run: |
poetry run python ./nfl_analytics/main.py --download-upcoming-matchups
latest_matchups_file=$(ls -1t nfl_analytics/assets/matchups-*.json | head -n 1)
if [[ -f "$latest_matchups_file" ]]; then
Expand All @@ -49,7 +49,7 @@ jobs:
return 0
fi
echo "LATEST_MATCHUP_FILE=$latest_matchups_file" >> "$GITHUB_OUTPUT"
echo "LATEST_MATCHUP_FILE=$latest_matchups_file" >> "$GITHUB_OUTPUT"
- name: Download data
run: poetry run python ./nfl_analytics/main.py --download
Expand Down Expand Up @@ -95,4 +95,4 @@ jobs:
- name: Predict upcoming matchups
env:
LATEST_MATCHUP_FILE: ${{ steps.check-matchups.outputs.LATEST_MATCHUP_FILE }}
run: echo "The latest matchup file is $LATEST_MATCHUP_FILE"
run: echo "The latest matchup file is $LATEST_MATCHUP_FILE"

0 comments on commit 0ab0b00

Please sign in to comment.