Skip to content

Commit

Permalink
Fix Config/needs/wasm step in image workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
georgestagg committed Dec 15, 2023
1 parent d5f6a71 commit 8b2f4f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release-file-system-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8b2f4f3

Please sign in to comment.