mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
lipo doesn't like merging osx.10.12-x64 and osx.11.0-arm64
This commit is contained in:
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
@@ -53,17 +53,19 @@ jobs:
|
||||
with:
|
||||
dotnet-version: 6.0.*
|
||||
- name: Build SquirrelMac
|
||||
run: |
|
||||
dotnet publish -v minimal -c Release -r osx.10.12-x64 --self-contained=true ./src/Squirrel.CommandLine.OSX/Squirrel.CommandLine.OSX.csproj -o ./publish
|
||||
mv ./publish/SquirrelMac ./publish/SquirrelMac-x64
|
||||
dotnet publish -v minimal -c Release -r osx.11.0-arm64 --self-contained=true ./src/Squirrel.CommandLine.OSX/Squirrel.CommandLine.OSX.csproj -o ./publish
|
||||
mkdir ./bundle
|
||||
lipo -create -output ./bundle/SquirrelMac ./publish/SquirrelMac ./publish/SquirrelMac-x64
|
||||
run: dotnet publish -v minimal -c Release -r osx.10.12-x64 --self-contained ./src/Squirrel.CommandLine.OSX/Squirrel.CommandLine.OSX.csproj -o ./publish
|
||||
# - name: Build SquirrelMac
|
||||
# run: |
|
||||
# dotnet publish -v minimal -c Release -r osx.10.12-x64 --self-contained ./src/Squirrel.CommandLine.OSX/Squirrel.CommandLine.OSX.csproj -o ./publish
|
||||
# mv ./publish/SquirrelMac ./publish/SquirrelMac-x64
|
||||
# dotnet publish -v minimal -c Release -r osx.11.0-arm64 --self-contained=true ./src/Squirrel.CommandLine.OSX/Squirrel.CommandLine.OSX.csproj -o ./publish
|
||||
# mkdir ./bundle
|
||||
# lipo -create -output ./bundle/SquirrelMac ./publish/SquirrelMac ./publish/SquirrelMac-x64
|
||||
- name: Build UpdateMac
|
||||
run: dotnet publish -v minimal -c Release -r osx.10.12-x64 --self-contained=true ./src/Update.OSX/Update.OSX.csproj -o ./bundle
|
||||
run: dotnet publish -v minimal -c Release -r osx.10.12-x64 --self-contained ./src/Update.OSX/Update.OSX.csproj -o ./publish
|
||||
- name: Upload MacOS Artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: osx-tools
|
||||
path: .\build\bundle\*
|
||||
path: ./publish/*
|
||||
|
||||
Reference in New Issue
Block a user