Skip to content

Commit

Permalink
test static file generation
Browse files Browse the repository at this point in the history
  • Loading branch information
ks233 committed Dec 30, 2023
1 parent d587489 commit 7937608
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/dotnet_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,8 @@ jobs:
- name: Move Vue.js dist to C# project
run: mv ja-learner/dist_vue/dist ./bin/Release/net6.0-windows/

- name: Download static files from repo
run: |
git clone https://github.com/ly-nld/ja-learner-static-files
mv ja-learner-static-files/* ./bin/Release/net6.0-windows/
mkdir ./bin/Release/net6.0-window/extra_prompts
- name: Create extra_prompts folder
run: ./bin/Release/net6.0-window/extra_prompts

- name: Create win client archive
run: Compress-Archive -Path ./bin/Release/net6.0-windows/* -DestinationPath client-win-x64.zip
Expand Down
8 changes: 1 addition & 7 deletions ja-learner.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<_SuppressWinFormsTrimError>true</_SuppressWinFormsTrimError>
<ImplicitUsings>enable</ImplicitUsings>
<GenerateDocumentationFile>False</GenerateDocumentationFile>
<MeCabUseDefaultDictionary>False</MeCabUseDefaultDictionary>
<MeCabUseDefaultDictionary>True</MeCabUseDefaultDictionary>
</PropertyGroup>

<ItemGroup>
Expand All @@ -36,12 +36,6 @@
</ItemGroup>

<ItemGroup>
<None Update="config.txt">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</None>
<None Update="extra_prompt.txt">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</None>
<None Update="extra_prompts\extra_prompt.txt">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</None>
Expand Down

0 comments on commit 7937608

Please sign in to comment.