Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build for develop #17

Merged
merged 2 commits into from
Sep 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/create-latest-develop-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
APPLICATION_PROJECT_PATH: .\src\ModularToolManager\ModularToolManager.csproj
APPLICATION_PLUGIN_PROJECT_PATH: .\src\DefaultPlugins\DefaultPlugins.csproj
APPLICATION_PUBLISH_FOLDER: ./publish
PLUGIN_PUBLISH_FOLDER: ./publish/plugin
PLUGIN_PUBLISH_FOLDER: ./publish/plugins
WINDOWS_ARTIFACT_NAME: WindowsBuildArtifact_x64
LINUX_ARTIFACT_NAME: LinuxBuildArtifact_x64
RELEASE_ARTIFACT_FOLDER: artifacts
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Publish Application
run: dotnet publish ${{ env.APPLICATION_PROJECT_PATH }} -r win-x64 -c Release -o ${{ env.APPLICATION_PUBLISH_FOLDER }}
- name: Publish Plugin
run: dotnet publish ${{ env.APPLICATION_PLUGIN_PROJECT_PATH }} -r win-x64 -c Release -o ${{ env.PLUGIN_PUBLISH_FOLDER }}
run: dotnet publish ${{ env.APPLICATION_PLUGIN_PROJECT_PATH }} -r win-x64 -c Release -o ${{ env.PLUGIN_PUBLISH_FOLDER }} /p:DebugType=None /p:DebugSymbols=false
- name: Show content for debug
if: ${{ env.DEBUG == 'true' }}
run: ls
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
- name: Publish Application
run: dotnet publish $APPLICATION_PROJECT_PATH -r linux-x64 -c Release -o $APPLICATION_PUBLISH_FOLDER
- name: Publish Plugin
run: dotnet publish $APPLICATION_PLUGIN_PROJECT_PATH -r linux-x64 -c Release -o $PLUGIN_PUBLISH_FOLDER
run: dotnet publish $APPLICATION_PLUGIN_PROJECT_PATH -r linux-x64 -c Release -o $PLUGIN_PUBLISH_FOLDER /p:DebugType=None /p:DebugSymbols=false
- name: Show content for debug
if: ${{ env.DEBUG == 'true' }}
run: ls -la
Expand Down
7 changes: 4 additions & 3 deletions src/DefaultPlugins/DefaultPlugins.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

<ItemGroup>
<None Remove="Translations\de-DE.json" />
<None Remove="Translations\de-DE_asdasd.json" />
<None Remove="Translations\en-EN.json" />
</ItemGroup>

Expand All @@ -18,12 +17,14 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\ModularToolManagerPlugin\ModularToolManagerPlugin.csproj" />
<ProjectReference Include="..\ModularToolManagerPlugin\ModularToolManagerPlugin.csproj">
<Private>false</Private>
</ProjectReference>
</ItemGroup>



<Target Condition=" '$(Configuration)' == 'Debug' " Name="CopyAfterBuild" AfterTargets="Build">
<Target Condition="'$(Configuration)' == 'Debug'" Name="CopyAfterBuild" AfterTargets="Build">
<Copy SourceFiles="$(OutDir)DefaultPlugins.dll" DestinationFolder="$(ProjectDir)../ModularToolManager/bin/$(Configuration)/net6.0/$(PlatformShortName)/plugins" SkipUnchangedFiles="false" />
</Target>
</Project>
Expand Down