Skip to content

Commit

Permalink
Added Windows ARM
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehjohn committed Aug 15, 2024
1 parent 5789e46 commit db1b28b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
uses: softprops/action-gh-release@v1
with:
files: |
Zen.Desktop.Host.Windows.Arm.zip
Zen.Desktop.Host.Windows.Intel.zip
Zen.Desktop.Host.Linux.Intel.zip
Zen.Desktop.Host.Linux.Arm.zip
Expand Down
1 change: 1 addition & 0 deletions clean.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rm *.zip
8 changes: 8 additions & 0 deletions publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ rm *.Host.*.zip
dotnet publish ./src/Zen.Desktop.Host/Zen.Desktop.Host.csproj -c Release -r osx-x64 /p:PublishReadyToRun=true /p:TieredCompilation=false --self-contained /p:PublishReadyToRunShowWarnings=true
dotnet publish ./src/Zen.Desktop.Host/Zen.Desktop.Host.csproj -c Release -r osx-arm64 /p:PublishReadyToRun=true /p:TieredCompilation=false --self-contained /p:PublishReadyToRunShowWarnings=true
dotnet publish ./src/Zen.Desktop.Host/Zen.Desktop.Host.csproj -c Release -r win-x64 /p:PublishReadyToRun=true /p:TieredCompilation=false --self-contained /p:PublishReadyToRunShowWarnings=true
dotnet publish ./src/Zen.Desktop.Host/Zen.Desktop.Host.csproj -c Release -r win-arm64 /p:PublishReadyToRun=true /p:TieredCompilation=false --self-contained /p:PublishReadyToRunShowWarnings=true
dotnet publish ./src/Zen.Desktop.Host/Zen.Desktop.Host.csproj -c Release -r linux-x64 /p:PublishReadyToRun=true /p:TieredCompilation=false --self-contained /p:PublishReadyToRunShowWarnings=true
dotnet publish ./src/Zen.Desktop.Host/Zen.Desktop.Host.csproj -c Release -r linux-arm64 /p:PublishReadyToRun=true /p:TieredCompilation=false --self-contained /p:PublishReadyToRunShowWarnings=true

Expand All @@ -28,6 +29,13 @@ zip -r Zen.Desktop.Host.Windows.Intel.zip *
cd -
mv ./src/Zen.Desktop.Host/bin/Release/net8.0/win-x64/publish/Zen.Desktop.Host.Windows.Intel.zip .

cd ./src/Zen.Desktop.Host/bin/Release/net8.0/win-arm64/publish
pwd
rm *.zip
zip -r Zen.Desktop.Host.Windows.Arm.zip *
cd -
mv ./src/Zen.Desktop.Host/bin/Release/net8.0/win-arm64/publish/Zen.Desktop.Host.Windows.Arm.zip .

cd ./src/Zen.Desktop.Host/bin/Release/net8.0/linux-x64/publish
pwd
rm *.zip
Expand Down

0 comments on commit db1b28b

Please sign in to comment.