diff --git a/dist/index.js b/dist/index.js index f391834..b89788c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -11574,21 +11574,22 @@ const TARGET_ALIASES = { } }; const ALLOWED_ENV_PREFIXES = [ + 'ACTIONS_', 'CARGO_', - 'RUST', - 'MATURIN_', - 'PYO3_', - 'TARGET_', - 'CMAKE_', 'CC', 'CFLAGS', + 'CMAKE_', + 'CPPFLAGS', 'CXX', 'CXXFLAGS', - 'CPPFLAGS', + 'GITHUB_', + 'JEMALLOC_', 'LDFLAGS', - 'ACTIONS_', + 'MATURIN_', + 'PYO3_', + 'RUST', 'SCCACHE_', - 'JEMALLOC_' + 'TARGET_' ]; const FORBIDDEN_ENVS = ['CARGO_HOME']; function hasZigSupport(target) { diff --git a/src/index.ts b/src/index.ts index d3caa3a..1da85d2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -233,21 +233,22 @@ const TARGET_ALIASES: Record> = { * Allowed prefixes for env variables to pass to docker */ const ALLOWED_ENV_PREFIXES: string[] = [ + 'ACTIONS_', 'CARGO_', - 'RUST', - 'MATURIN_', - 'PYO3_', - 'TARGET_', - 'CMAKE_', 'CC', 'CFLAGS', + 'CMAKE_', + 'CPPFLAGS', 'CXX', 'CXXFLAGS', - 'CPPFLAGS', + 'GITHUB_', + 'JEMALLOC_', 'LDFLAGS', - 'ACTIONS_', + 'MATURIN_', + 'PYO3_', + 'RUST', 'SCCACHE_', - 'JEMALLOC_' + 'TARGET_' ] /**