Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 17 additions & 22 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
target: [macos-arm64, windows-x64, linux-x64]
target: [macos-arm64, windows-x64, linux-24.04-x64, linux-22.04-x64]
include:
# - target: macos-arm64
# os: macos
Expand All @@ -29,7 +29,12 @@ jobs:
arch: x64
runner: windows-latest

- target: linux-x64
- target: linux-22.04-x64
os: linux
arch: x64
runner: ubuntu-latest

- target: linux-24.04-x64
os: linux
arch: x64
runner: ubuntu-latest
Expand Down Expand Up @@ -173,35 +178,25 @@ jobs:
with:
path: artifacts

- name: List downloaded artifacts
run: |
ls artifacts
ls -R artifacts

- name: Windows artifacts
run: ls artifacts/windows-x64

- name: Linux artifacts
run: ls artifacts/linux-x64

- name: MacOS artifacts
run: ls artifacts/macos-arm64
- name: Display structure of downloaded files
run: ls -R artifacts

- name: Zip and rename artifacts
- name: Zip platform-specific bundles
run: |
cd artifacts/
zip -r ./linux-x64.zip ./linux-x64
zip -r ./linux-22.04-x64.zip ./linux-22.04-x64
zip -r ./linux-24.04-x64.zip ./linux-24.04-x64
zip -r ./windows-x64.zip ./windows-x64
zip -r ./macos-arm64.zip ./macos-arm64
mv "windows-x64 Inno installer/windows_installer.exe" ./windows-x64/windows-x64\ Inno\ installer.exe
mv macos-arm64/result.zip ./macos-arm64.zip

- name: Create Release
uses: softprops/action-gh-release@v1
with:
files: |
artifacts/windows-x64/desktop_adb_file_browser.msix
artifacts/windows-x64/windows-x64 Inno installer.exe
artifacts/windows-x64-msix/desktop_adb_file_browser.msix
artifacts/windows-x64 Inno installer/windows_installer.exe
artifacts/windows-x64.zip
artifacts/linux-x64.zip
artifacts/linux-22.04-x64.zip
artifacts/linux-24.04-x64.zip
artifacts/macos-arm64.zip
fail_on_unmatched_files: true
Loading