Skip to content

Commit

Permalink
Update check-R-notebooks.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vsyrgkanis committed Jul 23, 2024
1 parent 1bd344b commit a7742b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check-R-notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ jobs:
rm linting_errors_check.txt
- name: Execute R scripts and log output
if: "((env.notebooks_changed == 'true') && (linting_errors_found == 'false'))"
if: "((env.notebooks_changed == 'true') && (env.linting_errors_found == 'false'))"
id: execute
run: |
log_file="${{ matrix.directory }}_r_script_execution.log"
Expand Down Expand Up @@ -197,7 +197,7 @@ jobs:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

- name: Upload execution log
if: "((env.notebooks_changed == 'true') && (linting_errors_found == 'false'))"
if: "((env.notebooks_changed == 'true') && (env.linting_errors_found == 'false'))"
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.directory }}-r-script-execution-log
Expand All @@ -224,7 +224,7 @@ jobs:
rm ${{ matrix.directory }}_r_scripts.zip
- name: Publish result of error check
if: "((env.notebooks_changed == 'true') && (linting_errors_found == 'false'))"
if: "((env.notebooks_changed == 'true') && (env.linting_errors_found == 'false'))"
run: |
cat errors_check.txt >> $GITHUB_ENV
rm errors_check.txt
Expand Down

0 comments on commit a7742b5

Please sign in to comment.