fix: try to fix action

This commit is contained in:
EpsilonZunsat
2026-06-29 16:35:42 +08:00
Unverified
parent deef187844
commit a32911ca3c
2 changed files with 11 additions and 3 deletions
+9 -1
View File
@@ -15,6 +15,12 @@ add_requires("ilistenattentively 0.12.0")
add_requires("gmlib 26.10.0")
add_requires("modapi 26.10.0")
rule("package_envs")
before_link(function (target)
os.addenvs(target:pkgenvs())
end)
rule_end()
target("GMLIB-LegacyRemoteCallApi")
add_cxflags(
"/EHa",
@@ -36,10 +42,12 @@ target("GMLIB-LegacyRemoteCallApi")
add_packages(
"levilamina",
"legacyremotecall",
"levibuildscript",
"ilistenattentively",
"gmlib",
"modapi"
)
add_rules("package_envs")
add_rules("@levibuildscript/linkrule")
add_rules("@levibuildscript/modpacker")
set_exceptions("none")
@@ -52,4 +60,4 @@ target("GMLIB-LegacyRemoteCallApi")
os.rm(target_path)
end
os.cp("lib", target_path)
end)
end)