diff --git a/.github/workflows/release-file-system-image.yml b/.github/workflows/release-file-system-image.yml index 04bd4fd..75d45d5 100644 --- a/.github/workflows/release-file-system-image.yml +++ b/.github/workflows/release-file-system-image.yml @@ -62,7 +62,8 @@ jobs: has_wasm_need <- file.exists("DESCRIPTION") && "Config/Needs/wasm" %in% names(as.list(read.dcf("DESCRIPTION")[1,])) - pkg <- if (has_wasm_need) "Config/Needs/wasm" else "" + pkg <- if (has_wasm_need) as.list(read.dcf("DESCRIPTION")[1,])$`Config/Needs/wasm` else "" + pkg <- paste0(strsplit(pkg, "[[:space:],]+")[[1]], collapse = ",") cat("pkg=", pkg, "\n", file = Sys.getenv("GITHUB_OUTPUT"), sep = "", append = TRUE) - name: Build wasm image