Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yatima1460 authored May 15, 2024
1 parent 8ee3def commit 17604b4
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,26 @@ jobs:
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v2

- name: Build Win
run: dotnet publish --maxCpuCount -f net8.0-windows10.0.19041.0 -c Release -p:RuntimeIdentifierOverride=win10-x64 -p:WindowsPackageType=None .\Drill\Drill.csproj

- name: Build win-x64
run: dotnet publish WinForms\WinForms.csproj /p:PublishProfile=WinForms\Properties\PublishProfiles\win-64.pubxml /p:PublishDir=publish

- name: Upload Win
uses: actions/upload-artifact@v4
with:
name: Drill_win10-x64
path: Drill\bin\Release\net8.0-windows10.0.19041.0\win10-x64\publish
name: Drill_win-x64
path: publish
if-no-files-found: error

#- name: Build MAUI
# run: dotnet publish --maxCpuCount -f net8.0-windows10.0.19041.0 -c Release -p:RuntimeIdentifierOverride=win10-x64 -p:WindowsPackageType=None .\Drill\Drill.csproj


#- name: Upload Win
# uses: actions/upload-artifact@v4
# with:
# name: Drill_win10-x64
# path: Drill\bin\Release\net8.0-windows10.0.19041.0\win10-x64\publish
# if-no-files-found: error

#- name: Build Mac
# run: dotnet publish --maxCpuCount -f net8.0-maccatalyst -c Release -p:RuntimeIdentifierOverride=maccatalyst-arm64 -p:WindowsPackageType=None .\Drill\Drill.csproj
Expand Down

0 comments on commit 17604b4

Please sign in to comment.