From 582498a9e2438f3509f70340df7642d0fa156d63 Mon Sep 17 00:00:00 2001 From: Pawel Rucki <12943682+pawelru@users.noreply.github.com> Date: Wed, 16 Oct 2024 09:38:40 +0200 Subject: [PATCH] move flag definition to the workflow --- .github/workflows/check.yml | 2 ++ package/cleanup | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index bf47198a4c..f85af9bb73 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -32,6 +32,7 @@ jobs: additional-env-vars: | NOT_CRAN=true QUARTO_PROFILE=development + TLG_CATALOG_PKG_BUILD_RENDER=TRUE concurrency-group: development r-cmd-stable: if: github.event_name != 'push' @@ -45,6 +46,7 @@ jobs: additional-env-vars: | NOT_CRAN=true QUARTO_PROFILE=stable + TLG_CATALOG_PKG_BUILD_RENDER=TRUE concurrency-group: stable linter: if: github.event_name != 'push' diff --git a/package/cleanup b/package/cleanup index 1a51c8d3d8..0c60970014 100755 --- a/package/cleanup +++ b/package/cleanup @@ -5,7 +5,6 @@ # It renders the book (which saves the output for snapshot testing) and removes the symlink. # Executed during the R CMD BUILD "running ‘cleanup’" step, it ensures a smaller package tarball without the symlink and eliminates R CMD CHECK notes. -export TLG_CATALOG_PKG_BUILD_RENDER=TRUE TLG_CATALOG_PKG_TEST_DATA_PATH=$(realpath "./tests/testthat/_data") export TLG_CATALOG_PKG_TEST_DATA_PATH if [ "$TLG_CATALOG_PKG_BUILD_RENDER" = "TRUE" ]; then