Skip to content

Commit

Permalink
Build before publish to hopefully include tailwind output.css
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasstich committed Mar 21, 2024
1 parent aeba24a commit 90c99ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jobs:
- name: Install dependencies
working-directory: WebAssembly
run: dotnet restore
- name: .NET build
working-directory: WebAssembly
run: dotnet build -c ${{ env.dotNetConfiguration }}
- name: .NET publish
working-directory: WebAssembly
run: dotnet publish -c ${{ env.dotNetConfiguration }}
Expand Down
6 changes: 3 additions & 3 deletions Library/Library.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
</ItemGroup>

<ItemGroup>
<UpToDateCheckBuilt Include="wwwroot/css/output.css" Set="Css">
<UpToDateCheckOutput Include="wwwroot/css/output.css" Set="Css">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</UpToDateCheckBuilt>
<UpToDateCheckBuilt Include="tailwind.config.js" Set="Css"/>
</UpToDateCheckOutput>
<UpToDateCheckInput Include="tailwind.config.js" Set="Css"/>
</ItemGroup>

<Target Name="Tailwind" BeforeTargets="Build">
Expand Down

0 comments on commit 90c99ba

Please sign in to comment.