Skip to content

Commit 70df0e5

Browse files
committed
ci: package Windows as zip, add Android AAB, add format extensions to artifact names
1 parent 4f3927e commit 70df0e5

1 file changed

Lines changed: 19 additions & 11 deletions

File tree

.github/workflows/build.yaml

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
9494
- uses: actions/upload-artifact@v4
9595
with:
96-
name: stack_wallet-linux-x86_64-${{ steps.ver.outputs.version }}
96+
name: stack_wallet-linux-x86_64-${{ steps.ver.outputs.version }}.tar.gz
9797
path: stack_wallet-linux-x86_64-${{ steps.ver.outputs.version }}.tar.gz
9898

9999
build-android:
@@ -203,6 +203,8 @@ jobs:
203203
android-artifacts/stack_wallet-android-armeabi-v7a-${VERSION}.apk
204204
cp build/app/outputs/flutter-apk/app-x86_64-release.apk \
205205
android-artifacts/stack_wallet-android-x86_64-${VERSION}.apk
206+
cp build/app/outputs/bundle/release/app-release.aab \
207+
android-artifacts/stack_wallet-android-${VERSION}.aab
206208
207209
- uses: actions/upload-artifact@v4
208210
with:
@@ -320,10 +322,16 @@ jobs:
320322
- name: Build
321323
run: flutter build windows --release
322324

325+
- name: Package
326+
shell: pwsh
327+
run: |
328+
Compress-Archive -Path "build/windows/x64/runner/Release/*" `
329+
-DestinationPath "stack_wallet-windows-x86_64-${{ steps.ver.outputs.version }}.zip"
330+
323331
- uses: actions/upload-artifact@v4
324332
with:
325-
name: stack_wallet-windows-x86_64-${{ steps.ver.outputs.version }}
326-
path: build/windows/x64/runner/Release/
333+
name: stack_wallet-windows-x86_64-${{ steps.ver.outputs.version }}.zip
334+
path: stack_wallet-windows-x86_64-${{ steps.ver.outputs.version }}.zip
327335

328336
build-macos:
329337
runs-on: macos-latest
@@ -399,7 +407,7 @@ jobs:
399407
400408
- uses: actions/upload-artifact@v4
401409
with:
402-
name: stack_wallet-macos-aarch64-${{ steps.ver.outputs.version }}
410+
name: stack_wallet-macos-aarch64-${{ steps.ver.outputs.version }}.zip
403411
path: stack_wallet-macos-aarch64-${{ steps.ver.outputs.version }}.zip
404412

405413
build-ios:
@@ -481,7 +489,7 @@ jobs:
481489
482490
- uses: actions/upload-artifact@v4
483491
with:
484-
name: stack_wallet-ios-aarch64-${{ steps.ver.outputs.version }}
492+
name: stack_wallet-ios-aarch64-${{ steps.ver.outputs.version }}.ipa
485493
path: stack_wallet-ios-aarch64-${{ steps.ver.outputs.version }}.ipa
486494

487495
build-campfire-linux:
@@ -545,7 +553,7 @@ jobs:
545553
546554
- uses: actions/upload-artifact@v4
547555
with:
548-
name: campfire-linux-x86_64-${{ steps.ver.outputs.version }}
556+
name: campfire-linux-x86_64-${{ steps.ver.outputs.version }}.tar.gz
549557
path: campfire-linux-x86_64-${{ steps.ver.outputs.version }}.tar.gz
550558

551559
build-stack-duo-linux:
@@ -609,7 +617,7 @@ jobs:
609617
610618
- uses: actions/upload-artifact@v4
611619
with:
612-
name: stack_duo-linux-x86_64-${{ steps.ver.outputs.version }}
620+
name: stack_duo-linux-x86_64-${{ steps.ver.outputs.version }}.tar.gz
613621
path: stack_duo-linux-x86_64-${{ steps.ver.outputs.version }}.tar.gz
614622

615623
build-flatpak:
@@ -634,7 +642,7 @@ jobs:
634642
- name: Download Linux bundle
635643
uses: actions/download-artifact@v4
636644
with:
637-
name: stack_wallet-linux-x86_64-${{ steps.ver.outputs.version }}
645+
name: stack_wallet-linux-x86_64-${{ steps.ver.outputs.version }}.tar.gz
638646

639647
- name: Stage bundle and icon
640648
run: |
@@ -671,11 +679,11 @@ jobs:
671679
run: |
672680
flatpak build-bundle flatpak-repo \
673681
--runtime-repo=https://flathub.org/repo/flathub.flatpakrepo \
674-
"stack_wallet-linux-x86_64-${{ steps.ver.outputs.version }}.flatpak" \
682+
"stack_wallet-flatpak-x86_64-${{ steps.ver.outputs.version }}.flatpak" \
675683
com.cypherstack.stackwallet
676684
677685
- uses: actions/upload-artifact@v4
678686
with:
679-
name: stack_wallet-flatpak-x86_64-${{ steps.ver.outputs.version }}
680-
path: stack_wallet-linux-x86_64-${{ steps.ver.outputs.version }}.flatpak
687+
name: stack_wallet-flatpak-x86_64-${{ steps.ver.outputs.version }}.flatpak
688+
path: stack_wallet-flatpak-x86_64-${{ steps.ver.outputs.version }}.flatpak
681689

0 commit comments

Comments
 (0)