|
12 | 12 |
|
13 | 13 | strategy:
|
14 | 14 | matrix:
|
15 |
| - target: [macos-arm64, windows-x64, linux-x64] |
| 15 | + target: [macos-arm64, windows-x64, linux-24.04-x64, linux-22.04-x64] |
16 | 16 | include:
|
17 | 17 | # - target: macos-arm64
|
18 | 18 | # os: macos
|
|
29 | 29 | arch: x64
|
30 | 30 | runner: windows-latest
|
31 | 31 |
|
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 |
33 | 38 | os: linux
|
34 | 39 | arch: x64
|
35 | 40 | runner: ubuntu-latest
|
@@ -173,35 +178,25 @@ jobs:
|
173 | 178 | with:
|
174 | 179 | path: artifacts
|
175 | 180 |
|
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 |
189 | 183 |
|
190 |
| - - name: Zip and rename artifacts |
| 184 | + - name: Zip platform-specific bundles |
191 | 185 | run: |
|
192 | 186 | 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 |
194 | 189 | 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 |
197 | 191 |
|
198 | 192 | - name: Create Release
|
199 | 193 | uses: softprops/action-gh-release@v1
|
200 | 194 | with:
|
201 | 195 | 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 |
204 | 198 | artifacts/windows-x64.zip
|
205 |
| - artifacts/linux-x64.zip |
| 199 | + artifacts/linux-22.04-x64.zip |
| 200 | + artifacts/linux-24.04-x64.zip |
206 | 201 | artifacts/macos-arm64.zip
|
207 | 202 | fail_on_unmatched_files: true
|
0 commit comments