Skip to content

Commit

Permalink
Fix nuget packaging for Net 8.0 and FluentUI.
Browse files Browse the repository at this point in the history
  • Loading branch information
GinoCanessa committed Sep 3, 2024
1 parent bcb1e11 commit 219d57a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/nuget-tool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@ jobs:
with:
dotnet-version: '8'

# Note that we need to pack twice because of an issue with staticwebassets.
- name: Build and Publish
run: |
dotnet restore
dotnet pack -c Release ./src/fhir-candle/fhir-candle.csproj
rm ./nupkg/*.nupkg
dotnet pack -c Release ./src/fhir-candle/fhir-candle.csproj
mv ./src/fhir-candle/bin/Release/net8.0/publish/wwwroot ./src/fhir-candle/bin/Release/net8.0/publish/staticwebassets
7z a ./nupkg/*.nupkg ./src/fhir-candle/bin/Release/net8.0/publish/staticwebassets/
dotnet nuget push ./nupkg/*.nupkg --api-key ${{ secrets.GINOC_NUGET }} --source https://api.nuget.org/v3/index.json
4 changes: 2 additions & 2 deletions src/fhir-candle/fhir-candle.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,13 @@
</None>
</ItemGroup>

<ItemGroup>
<!--<ItemGroup>
<None Include="bin\Release\net8.0\publish\wwwroot\**\*.*" Pack="true" PackagePath="staticwebassets\%(RecursiveDir)%(FileName)%(Extension)">
<Link>wwwroot\_content\%(RecursiveDir)%(FileName)%(Extension)</Link>
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
<IncludeInPackage>true</IncludeInPackage>
</None>
</ItemGroup>
</ItemGroup>-->

<ItemGroup>
<Include Update="wwwroot\css\monaco.css" Pack="false">
Expand Down

0 comments on commit 219d57a

Please sign in to comment.