fix: try to fix action
This commit is contained in:
@@ -45,7 +45,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
- uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Download Mod
|
- name: Download Mod
|
||||||
uses: actions/download-artifact@v7
|
uses: actions/download-artifact@v7
|
||||||
@@ -66,4 +66,4 @@ jobs:
|
|||||||
uses: softprops/action-gh-release@v3
|
uses: softprops/action-gh-release@v3
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
${{ github.event.repository.name }}-windows-x64.zip
|
${{ github.event.repository.name }}-windows-x64.zip
|
||||||
|
|||||||
@@ -15,6 +15,12 @@ add_requires("ilistenattentively 0.12.0")
|
|||||||
add_requires("gmlib 26.10.0")
|
add_requires("gmlib 26.10.0")
|
||||||
add_requires("modapi 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")
|
target("GMLIB-LegacyRemoteCallApi")
|
||||||
add_cxflags(
|
add_cxflags(
|
||||||
"/EHa",
|
"/EHa",
|
||||||
@@ -36,10 +42,12 @@ target("GMLIB-LegacyRemoteCallApi")
|
|||||||
add_packages(
|
add_packages(
|
||||||
"levilamina",
|
"levilamina",
|
||||||
"legacyremotecall",
|
"legacyremotecall",
|
||||||
|
"levibuildscript",
|
||||||
"ilistenattentively",
|
"ilistenattentively",
|
||||||
"gmlib",
|
"gmlib",
|
||||||
"modapi"
|
"modapi"
|
||||||
)
|
)
|
||||||
|
add_rules("package_envs")
|
||||||
add_rules("@levibuildscript/linkrule")
|
add_rules("@levibuildscript/linkrule")
|
||||||
add_rules("@levibuildscript/modpacker")
|
add_rules("@levibuildscript/modpacker")
|
||||||
set_exceptions("none")
|
set_exceptions("none")
|
||||||
@@ -52,4 +60,4 @@ target("GMLIB-LegacyRemoteCallApi")
|
|||||||
os.rm(target_path)
|
os.rm(target_path)
|
||||||
end
|
end
|
||||||
os.cp("lib", target_path)
|
os.cp("lib", target_path)
|
||||||
end)
|
end)
|
||||||
|
|||||||
Reference in New Issue
Block a user