Skip to content

Commit b70f291

Browse files
committed
Added windows specific packages to windows AOT build
1 parent f8c4acd commit b70f291

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

.github/workflows/release.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
rid: linux-musl-x64
7575
ext: ""
7676
# Linux (arm64 on ARM runner!)
77-
- os: ubuntu-arm64
77+
- os: ubuntu-24.04-arm
7878
rid: linux-arm64
7979
ext: ""
8080
# macOS
@@ -85,12 +85,16 @@ jobs:
8585
rid: osx-arm64
8686
ext: ""
8787
# Windows
88-
- os: windows-2022
88+
- os: windows-11
8989
rid: win-x64
9090
ext: ".exe"
91-
- os: windows-2022
91+
- os: windows-11
9292
rid: win-x86
9393
ext: ".exe"
94+
# Windows (arm64 on ARM runner!)
95+
- os: windows-11-arm
96+
rid: win-arm64
97+
ext: ".exe"
9498

9599
steps:
96100
- name: 📦 Checkout
@@ -113,11 +117,17 @@ jobs:
113117
-p:TargetFrameworks=NET9.0 \
114118
-o ./publish
115119
116-
- name: 📦 Zip Binary
117-
shell: bash
120+
- name: 📦 Zip Binary (Windows)
121+
if: runner.os == 'Windows'
122+
run: Compress-Archive -Path publish/fusion.exe -DestinationPath fusion-${{ matrix.rid }}.zip
123+
shell: pwsh
124+
125+
- name: 📦 Zip Binary (Unix)
126+
if: runner.os != 'Windows'
118127
run: |
119128
cd publish
120129
zip ../fusion-${{ matrix.rid }}.zip fusion${{ matrix.ext }}
130+
shell: bash
121131

122132
- name: 📤 Upload Zipped AOT Binary
123133
shell: bash

0 commit comments

Comments
 (0)