mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
add -p:NoWarn=NETSDK1179 to build yml due to SDK 6.0.300 bug
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -53,9 +53,13 @@ jobs:
|
||||
with:
|
||||
dotnet-version: 6.0.*
|
||||
- name: Build SquirrelMac
|
||||
run: dotnet publish -v minimal --self-contained -c Release -r osx.10.12-x64 ./src/Squirrel.CommandLine.OSX/Squirrel.CommandLine.OSX.csproj -o ./publish
|
||||
run: |
|
||||
dotnet publish -v minimal --self-contained -c Release -r osx.10.12-x64 ./src/Squirrel.CommandLine.OSX/Squirrel.CommandLine.OSX.csproj -o ./publish -p:NoWarn=NETSDK1179
|
||||
ls -la ./publish
|
||||
- name: Build UpdateMac
|
||||
run: dotnet publish -v minimal --self-contained -c Release -r osx.10.12-x64 ./src/Update.OSX/Update.OSX.csproj -o ./publish
|
||||
run: |
|
||||
dotnet publish -v minimal --self-contained -c Release -r osx.10.12-x64 ./src/Update.OSX/Update.OSX.csproj -o ./publish -p:NoWarn=NETSDK1179
|
||||
ls -la ./publish
|
||||
- name: Upload MacOS Artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
||||
@@ -26,8 +26,8 @@ foreach ($Folder in $Folders) {
|
||||
# Build single-exe packaged projects
|
||||
# New-Item -Path "$Out" -Name "win-x86" -ItemType "directory"
|
||||
$BinOut = $Out
|
||||
dotnet publish -v minimal -c Release -r win-x64 --self-contained=true "$PSScriptRoot\src\Squirrel.CommandLine.Windows\Squirrel.CommandLine.Windows.csproj" -o "$Out"
|
||||
dotnet publish -v minimal -c Release -r win-x86 --self-contained=true "$PSScriptRoot\src\Update.Windows\Update.Windows.csproj" -o "$BinOut"
|
||||
dotnet publish -v minimal -c Release -r win-x64 --self-contained=true "$PSScriptRoot\src\Squirrel.CommandLine.Windows\Squirrel.CommandLine.Windows.csproj" -o "$Out" -p:NoWarn=NETSDK1179
|
||||
dotnet publish -v minimal -c Release -r win-x86 --self-contained=true "$PSScriptRoot\src\Update.Windows\Update.Windows.csproj" -o "$BinOut" -p:NoWarn=NETSDK1179
|
||||
|
||||
# Copy over all files we need
|
||||
Copy-Item -Path "$PSScriptRoot\vendor\7zip\*" -Destination "$BinOut" -Recurse
|
||||
|
||||
Reference in New Issue
Block a user