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 7, 2024
1 parent a11587a commit 529aa2b
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,20 @@ jobs:
- 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: 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
#- name: Build Mac
# run: dotnet publish --maxCpuCount -f net8.0-maccatalyst -c Release -p:RuntimeIdentifierOverride=maccatalyst-arm64 -p:WindowsPackageType=None .\Drill\Drill.csproj

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

0 comments on commit 529aa2b

Please sign in to comment.