Skip to content

Commit

Permalink
ci: Avoid checking bashisms on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Jun 27, 2024
1 parent 34db89e commit a8bfd2a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ runs:
echo "_R_CHECK_CRAN_INCOMING_CHECK_FILE_URIS_=true" | tee -a $GITHUB_ENV
echo "_R_CHECK_CRAN_INCOMING_NOTE_GNU_MAKE_=true" | tee -a $GITHUB_ENV
echo "_R_CHECK_PACKAGE_DEPENDS_IGNORE_MISSING_ENHANCES_=true" | tee -a $GITHUB_ENV
echo "_R_CHECK_BASHISMS_=true" | tee -a $GITHUB_ENV
echo "_R_CHECK_CODE_CLASS_IS_STRING_=true" | tee -a $GITHUB_ENV
echo "_R_CHECK_CODOC_VARIABLES_IN_USAGES_=true" | tee -a $GITHUB_ENV
echo "_R_CHECK_CONNECTIONS_LEFT_OPEN_=true" | tee -a $GITHUB_ENV
Expand All @@ -59,6 +58,12 @@ runs:
echo "_R_CXX_USE_NO_REMAP_=true" | tee -a $GITHUB_ENV
shell: bash

- name: Set environment variables (non-Windows only)
if: runner.os != 'Windows'
run: |
echo "_R_CHECK_BASHISMS_=true" | tee -a $GITHUB_ENV
shell: bash

- name: Update apt
if: runner.os == 'Linux'
run: |
Expand Down

0 comments on commit a8bfd2a

Please sign in to comment.