diff --git a/.github/workflows/attachReleaseArtifacts.yml b/.github/workflows/attachReleaseArtifacts.yml index 4634e88..6615eff 100644 --- a/.github/workflows/attachReleaseArtifacts.yml +++ b/.github/workflows/attachReleaseArtifacts.yml @@ -47,6 +47,11 @@ jobs: msbuild /p:Configuration=Release /p:ReferencePath="${{ steps.download-assemblies.outputs.ksp-dll-path }}" ${GITHUB_WORKSPACE}/Source/ROHeatshields.sln cp -v ${GITHUB_WORKSPACE}/Source/obj/x64/Release/ROHeatshields.dll ${GITHUB_WORKSPACE}/GameData/ROHeatshields/Plugins/ROHeatshields.dll + - name: Remove excess DLLs + uses: KSP-RO/BuildTools/remove-excess-dlls@master + with: + path: ${GITHUB_WORKSPACE}/GameData/ + - name: Update version file uses: KSP-RO/BuildTools/update-version-file@master with: diff --git a/.github/workflows/buildAndTest.yml b/.github/workflows/buildAndTest.yml index 169c162..9cd6ede 100644 --- a/.github/workflows/buildAndTest.yml +++ b/.github/workflows/buildAndTest.yml @@ -46,7 +46,12 @@ jobs: rm -f ${GITHUB_WORKSPACE}/GameData/ROHeatshields/Plugins/*.dll msbuild /p:Configuration=Release /p:ReferencePath="${{ steps.download-assemblies.outputs.ksp-dll-path }}" ${GITHUB_WORKSPACE}/Source/ROHeatshields.sln cp -v ${GITHUB_WORKSPACE}/Source/obj/x64/Release/ROHeatshields.dll ${GITHUB_WORKSPACE}/GameData/ROHeatshields/Plugins/ROHeatshields.dll - + + - name: Remove excess DLLs + uses: KSP-RO/BuildTools/remove-excess-dlls@master + with: + path: ${GITHUB_WORKSPACE}/GameData/ + - name: Assemble release id: assemble-release run: |