Skip to content

Commit

Permalink
chore: Adjust build and missing file
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban committed Oct 31, 2023
1 parent 3988362 commit 47b7f05
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ jobs:
- name: Install .NET Workloads
shell: pwsh
run: |
& dotnet tool install --global --version 1.11 uno.check
& dotnet tool install --global --version 1.16.1 uno.check
& ~/.dotnet/tools/uno-check --ci --fix --non-interactive --verbose
- name: Build
run: |
mkdir -p $GITHUB_WORKSPACE/artifacts
mkdir -p $GITHUB_WORKSPACE/artifacts/wasm
cd src/MyApp.Wasm
dotnet publish -c Release -f net7.0 /bl:/artifacts/mbuild.binlog -o $GITHUB_WORKSPACE/artifacts/wasm
dotnet publish -c Release -f net7.0 -p:OverrideTargetFrameworks=net7.0 /bl:/artifacts/mbuild.binlog -o $GITHUB_WORKSPACE/artifacts/wasm
- uses: actions/upload-artifact@v2
with:
Expand Down
22 changes: 22 additions & 0 deletions src/solution-config.props.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<Project>
<!--
This file is used to control the platforms compiled by visual studio, and
allow for a faster build when testing for a single platform.

Instructions:
1) Copy this file and remove the ".sample" name
2) Uncomment and adjust the properties below
3) Make sure to do a Rebuild, so that nuget restores the proper packages for the new target
-->

<PropertyGroup>
<!-- Uncomment each line for each platform that you want to build: -->

<!-- <OverrideTargetFrameworks Condition="''!='hint: Windows App Sdk (WinUI)'">$(OverrideTargetFrameworks);$baseTargetFramework$-windows10.0.19041.0</OverrideTargetFrameworks> -->
<!-- <OverrideTargetFrameworks Condition="''!='hint: WASM, Skia'">$(OverrideTargetFrameworks);$baseTargetFramework$</OverrideTargetFrameworks> -->
<!-- <OverrideTargetFrameworks Condition="''!='hint: .NET 6.0 iOS'">$(OverrideTargetFrameworks);$baseTargetFramework$-ios</OverrideTargetFrameworks> -->
<!-- <OverrideTargetFrameworks Condition="''!='hint: .NET 6.0 Android'">$(OverrideTargetFrameworks);$baseTargetFramework$-android</OverrideTargetFrameworks> -->
<!-- <OverrideTargetFrameworks Condition="''!='hint: .NET 6.0 macOS Catalyst'">$(OverrideTargetFrameworks);$baseTargetFramework$-maccatalyst</OverrideTargetFrameworks> -->
</PropertyGroup>

</Project>

0 comments on commit 47b7f05

Please sign in to comment.