Skip to content

Commit a2d822c

Browse files
GHA: Try to make NOT_CRAN configurable - attempt 3
1 parent e418d9d commit a2d822c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/revdepcheck-top.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
R_FUTURE_PLAN: ${{ matrix.config.plan }}
5151
R_FUTURE_GLOBALS_KEEPWHERE: ${{ matrix.config.globals_keepWhere }}
5252
R_GLOBALS_BRANCH: ${{ matrix.config.globals }}
53-
NOT_CRAN: ${{ (matrix.config.not_cran != null) && matrix.config.not_cran || true }}
53+
NOT_CRAN: true
5454

5555
steps:
5656
- uses: actions/checkout@v4
@@ -93,6 +93,9 @@ jobs:
9393
run: |
9494
url=$(Rscript -e "cat(remotes:::download_version_url('${{ matrix.config.pkg }}', version=NULL, repos='https://cloud.r-project.org', type='source'))")
9595
wget "$url"
96+
if [[ "${{ matrix.config.not_cran }}" == "false" ]]; then
97+
export NOT_CRAN=false
98+
fi
9699
echo "NOT_CRAN=${NOT_CRAN:-<not set>}"
97100
R CMD check --no-manual --as-cran "$(basename "$url")"
98101

0 commit comments

Comments
 (0)