Skip to content

Commit

Permalink
chore: test reading var sharing between gh action steps
Browse files Browse the repository at this point in the history
  • Loading branch information
BlairCurrey committed Feb 18, 2024
1 parent 8d35cd5 commit c376d25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/train-spread-predictor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:
latest_matchups_file=$(ls -1t nfl_analytics/assets/matchups-*.json | head -n 1)
echo "LATEST_MATCHUP_FILE=$latest_matchups_file" >> "$GITHUB_OUTPUT"
if [[ -f "$latest_matchups_file" ]]; then
echo "Latest matchups file: $latest_matchups_file"
matchups_count=$(jq length "$latest_matchups_file")
Expand All @@ -52,8 +54,6 @@ jobs:
exit 0
fi
echo "LATEST_MATCHUP_FILE=$latest_matchups_file" >> "$GITHUB_OUTPUT"
- name: Test LATEST_MATCHUP_FILE var
env:
LATEST_MATCHUP_FILE: ${{ steps.check-matchups.outputs.LATEST_MATCHUP_FILE }}
Expand Down

0 comments on commit c376d25

Please sign in to comment.