Skip to content

Commit

Permalink
Merge pull request #6 from reagcz/develop
Browse files Browse the repository at this point in the history
Minor improvements
  • Loading branch information
reagcz committed Nov 18, 2022
2 parents dac018a + b19ada9 commit 7103402
Show file tree
Hide file tree
Showing 5 changed files with 353 additions and 8 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ jobs:

env:
App_Packages_Archive: IdeapadToolkit.zip
App_Publish_Directory: bin\Release\net6.0-windows10.0.20348.0\publish\win-x64
License_Path: IdeapadToolkit\Properties\PublishProfiles\3RD_PARTY_LICENSES.txt
App_Publish_Directory: bin\Release\net6.0-windows\publish\win-x64
App_Project_Directory: IdeapadToolkit\
Solution_Path: IdeapadToolkit.sln
Project_Path: IdeapadToolkit\IdeapadToolkit.csproj
Expand Down Expand Up @@ -45,6 +46,10 @@ jobs:
- name: Build using the publish profile
run: dotnet publish /p:Configuration=Release /p:PublishProfile=FolderProfile

# Copy license file to the publish directory
- name: Copy license file to the publish directory
run: Copy-Item -Path $env:License_Path -Destination $env:App_Project_Directory\$env:App_Publish_Directory\

# Create archive
- name: Create archive
run: Compress-Archive -Path $env:App_Project_Directory\$env:App_Publish_Directory\* -DestinationPath $env:App_Project_Directory\$env:App_Publish_Directory\$env:App_Packages_Archive
Expand Down
2 changes: 1 addition & 1 deletion IdeapadToolkit/IdeapadToolkit.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0-windows10.0.20348.0</TargetFramework>
<TargetFramework>net6.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<UseWPF>true</UseWPF>
<SupportedOSPlatformVersion>7.0</SupportedOSPlatformVersion>
Expand Down
Loading

0 comments on commit 7103402

Please sign in to comment.