From 98a2d4271af710feb6085d751b161e2c548afe4c Mon Sep 17 00:00:00 2001 From: Justin <52604018+hiimjustin000@users.noreply.github.com> Date: Fri, 8 Nov 2024 15:28:28 -0500 Subject: [PATCH] some other stuffs --- action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 5350dbe..61bb0ae 100644 --- a/action.yml +++ b/action.yml @@ -252,7 +252,8 @@ runs: CMAKE_EXTRA_ARGS="$CMAKE_EXTRA_ARGS -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON" fi if [ "${{ inputs.bundle-pdb }}" = "true" ]; then - CMAKE_EXTRA_ARGS="$CMAKE_EXTRA_ARGS -DGEODE_BUNDLE_PDB=ON" + MOD_ID=$(jq -r '.id' mod.json) + CMAKE_EXTRA_ARGS="$CMAKE_EXTRA_ARGS -DGEODE_BUNDLE_PDB=ON -DCMAKE_LINK_OPTIONS=\"/PDBALTPATH:geode/unzipped/$MOD_ID/$MOD_ID.pdb\"" fi cmake -B build -DCMAKE_BUILD_TYPE=${{ inputs.build-config }} -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DGEODE_CODEGEN_CMAKE_ARGS="-DCMAKE_C_COMPILER=clang;-DCMAKE_CXX_COMPILER=clang++;-G Ninja" -G Ninja $CMAKE_EXTRA_ARGS -DGEODE_DONT_INSTALL_MODS=ON -DGEODE_TARGET_PLATFORM=${{ steps.platform.outputs.target }} ${{ inputs.configure-args }} cmake --build build --config ${{ inputs.build-config }} ${{ inputs.build-args }}