From a8bfd2a849a1ba284d16010f3737a5aa13d3e7ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Thu, 27 Jun 2024 17:20:32 +0200 Subject: [PATCH] ci: Avoid checking bashisms on Windows --- .github/workflows/install/action.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/install/action.yml b/.github/workflows/install/action.yml index 449cd8c..cf9eda0 100644 --- a/.github/workflows/install/action.yml +++ b/.github/workflows/install/action.yml @@ -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 @@ -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: |