From 12a7b4e63006b483dbec27de946f1c78e91e0233 Mon Sep 17 00:00:00 2001 From: "tbernard@pageup.fr" Date: Tue, 30 Jul 2024 22:15:16 +0200 Subject: [PATCH] Upload releases --- .github/workflows/test.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 13e2433..79caea4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,17 +35,18 @@ jobs: KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }} run: ./gradlew assembleRelease bundleRelease --stacktrace - - name: Upload APK to Artifacts - uses: actions/upload-artifact@v3 - with: - name: app-release.apk - path: composeApp/build/outputs/apk/release/composeApp-release.apk + - name: Create releases.zip + run: | + mkdir releases + cp composeApp/build/outputs/apk/release/composeApp-release.apk releases/ + cp composeApp/build/outputs/bundle/release/composeApp-release.aab releases/ + zip -r releases.zip releases - - name: Upload AAB to Artifacts + - name: Upload releases.zip to Artifacts uses: actions/upload-artifact@v3 with: - name: app-release.aab - path: composeApp/build/outputs/bundle/release/composeApp-release.aab + name: releases + path: releases.zip test: runs-on: ubuntu-latest