From 0f13f9686a6e32c0e8a619d96c41f2bd0a14fb5e Mon Sep 17 00:00:00 2001 From: nitesh Date: Thu, 30 May 2024 19:16:41 -0400 Subject: [PATCH] attempt to upload to artifacts --- .github/workflows/build_android.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_android.yml b/.github/workflows/build_android.yml index 260470fb..2b052a5e 100644 --- a/.github/workflows/build_android.yml +++ b/.github/workflows/build_android.yml @@ -16,14 +16,14 @@ jobs: run: | apt-get update apt-get install -y curl unzip - - name: Install AWS CLI - run: | - curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" - unzip awscliv2.zip - ./aws/install - name: Build application run: yarn build-unsigned-android - - name: Find and upload APK to S3 + - name: Find APK path run: | apk_path=$(find . -type f -name "*.apk" | head -n 1) - echo "APK path: $apk_path" + echo "APK_PATH=$apk_path" >> $GITHUB_ENV + - name: Upload APK as artifact + uses: actions/upload-artifact@v4 + with: + name: app-release-unsigned + path: ${{ env.APK_PATH }}