Skip to content

Commit e9401a5

Browse files
committed
Update action.yaml
1 parent 7fe88c0 commit e9401a5

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/internal/install-shinyverse/action.yaml

+7-4
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,14 @@ runs:
7474
} else if (short_r_version == "4.2") {
7575
"42"
7676
} else {
77-
message("Not setting Rtools version!")
78-
return()
77+
""
7978
}
80-
message("Using Rtools v", value)
81-
cat("value=", value, "\n", file = Sys.getenv("GITHUB_OUTPUT"), sep = "", append = TRUE)
79+
if (nchar(value) > 0) {
80+
message("Using Rtools v", value)
81+
cat("value=", value, "\n", file = Sys.getenv("GITHUB_OUTPUT"), sep = "", append = TRUE)
82+
} else {
83+
message("Not setting Rtools version!")
84+
}
8285
8386
# We need to have the first repo to be `shinyverse` repo, then RSPM, then cran-url
8487
# Recreate logic from https://github.com/r-lib/actions/blob/413b6a4ba22b7bcaa726df1c8f88dcd574fbc8c4/setup-r/src/installer.ts#L598-L670

0 commit comments

Comments
 (0)