Skip to content

Commit

Permalink
fixed if statement to use braces in after-validate-submission.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
kjsato committed Jun 6, 2024
1 parent ddd1136 commit 3fa72ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/after-validate-submission.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,14 @@ jobs:
run: |
cd ./scripts
Rscript ensemble.R
if: env.conventional != '0'
if: ${{ env.conventional != '0' }}
- name: Run retro_ensemble.R
run: |
cd ./scripts
for file in $(echo '${{ steps.changed-files.outputs.added_files }}' | grep 'model-output' | grep '.*-RETRO.*\.\(csv\|parquet\)'); do
Rscript retro_ensemble.R $file
done
if: env.retro != '0'
if: ${{ env.retro != '0' }}
- name: Commit and push new files to root repository
run: |
Expand Down

0 comments on commit 3fa72ad

Please sign in to comment.