From 4583e1c5081bd8f7f232a640b860d777168f05ea Mon Sep 17 00:00:00 2001 From: Pratik-canopas Date: Thu, 18 Jan 2024 11:35:10 +0530 Subject: [PATCH] Implement upload artifacts --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e035fec..e3b2247 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,11 +45,13 @@ jobs: echo "Generating android build $buildName $buildNumber" flutter build apk --release --build-number=$buildNumber --build-name=$buildName - mv build/app/outputs/flutter-apk/app-release.apk . + mv build/app/outputs/apk/release/*.apk . cd .. - name: Archive Artifacts uses: actions/upload-artifact@v4 with: name: cloud-gallery.apk - path: app/build/app/outputs/flutter-apk/app-release.apk + path: app/*.apk + if-no-files-found: error +