Skip to content

Commit

Permalink
Add DEBIAN_FRONTEND=noninteractive in Linux
Browse files Browse the repository at this point in the history
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
  • Loading branch information
Kenji Miyake committed Aug 14, 2021
1 parent c69b164 commit 44034a4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11237,6 +11237,9 @@ function run_throw() {
if (colconDefaultsFile !== "") {
options.env = Object.assign(Object.assign({}, options.env), { COLCON_DEFAULTS_FILE: colconDefaultsFile });
}
if (isLinux) {
options.env = Object.assign(Object.assign({}, options.env), { DEBIAN_FRONTEND: "noninteractive" });
}
if (importToken !== "") {
// Unset all local extraheader config entries possibly set by actions/checkout,
// because local settings take precedence and the default token used by
Expand Down
6 changes: 6 additions & 0 deletions src/action-ros-ci.ts
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,12 @@ async function run_throw(): Promise<void> {
COLCON_DEFAULTS_FILE: colconDefaultsFile,
};
}
if (isLinux) {
options.env = {
...options.env,
DEBIAN_FRONTEND: "noninteractive",
};
}

if (importToken !== "") {
// Unset all local extraheader config entries possibly set by actions/checkout,
Expand Down

0 comments on commit 44034a4

Please sign in to comment.