Skip to content

Commit bf1e659

Browse files
committed
Add Ubuntu 22.04 build and fix release artifact paths
1 parent 3a6eb2b commit bf1e659

File tree

1 file changed

+17
-22
lines changed

1 file changed

+17
-22
lines changed

.github/workflows/build.yml

Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
target: [macos-arm64, windows-x64, linux-x64]
15+
target: [macos-arm64, windows-x64, linux-24.04-x64, linux-22.04-x64]
1616
include:
1717
# - target: macos-arm64
1818
# os: macos
@@ -29,7 +29,12 @@ jobs:
2929
arch: x64
3030
runner: windows-latest
3131

32-
- target: linux-x64
32+
- target: linux-22.04-x64
33+
os: linux
34+
arch: x64
35+
runner: ubuntu-latest
36+
37+
- target: linux-24.04-x64
3338
os: linux
3439
arch: x64
3540
runner: ubuntu-latest
@@ -173,35 +178,25 @@ jobs:
173178
with:
174179
path: artifacts
175180

176-
- name: List downloaded artifacts
177-
run: |
178-
ls artifacts
179-
ls -R artifacts
180-
181-
- name: Windows artifacts
182-
run: ls artifacts/windows-x64
183-
184-
- name: Linux artifacts
185-
run: ls artifacts/linux-x64
186-
187-
- name: MacOS artifacts
188-
run: ls artifacts/macos-arm64
181+
- name: Display structure of downloaded files
182+
run: ls -R artifacts
189183

190-
- name: Zip and rename artifacts
184+
- name: Zip platform-specific bundles
191185
run: |
192186
cd artifacts/
193-
zip -r ./linux-x64.zip ./linux-x64
187+
zip -r ./linux-22.04-x64.zip ./linux-22.04-x64
188+
zip -r ./linux-24.04-x64.zip ./linux-24.04-x64
194189
zip -r ./windows-x64.zip ./windows-x64
195-
zip -r ./macos-arm64.zip ./macos-arm64
196-
mv "windows-x64 Inno installer/windows_installer.exe" ./windows-x64/windows-x64\ Inno\ installer.exe
190+
mv macos-arm64/result.zip ./macos-arm64.zip
197191
198192
- name: Create Release
199193
uses: softprops/action-gh-release@v1
200194
with:
201195
files: |
202-
artifacts/windows-x64/desktop_adb_file_browser.msix
203-
artifacts/windows-x64/windows-x64 Inno installer.exe
196+
artifacts/windows-x64-msix/desktop_adb_file_browser.msix
197+
artifacts/windows-x64 Inno installer/windows_installer.exe
204198
artifacts/windows-x64.zip
205-
artifacts/linux-x64.zip
199+
artifacts/linux-22.04-x64.zip
200+
artifacts/linux-24.04-x64.zip
206201
artifacts/macos-arm64.zip
207202
fail_on_unmatched_files: true

0 commit comments

Comments
 (0)