From 04a85a3cc0fe0a23ff1ac404e9d735a1fd63873f Mon Sep 17 00:00:00 2001 From: ErnestoMoraes Date: Tue, 14 Mar 2023 09:32:11 -0300 Subject: [PATCH] teste apk --- .github/workflows/ci-cd.yml | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index e911afa..3a92870 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -53,5 +53,25 @@ jobs: - name: Upload apk uses: actions/upload-artifact@v3 with: - name: appbundle - path: build/app/outputs/bundle/release/app-release.apk \ No newline at end of file + name: my apk + path: build/app/outputs/bundle/release/app-release.apk + + email: + runs-on: ubuntu-latest + steps: + - name: Download APK Artifact + uses: actions/download-artifact@v2 + with: + name: my apk + - name: Send Email with APK Attachment + uses: dawidd6/action-send-mail@v3.3.0 + with: + server_address: smtp.gmail.com + server_port: 587 + username: ${{ secrets.EMAIL_USERNAME }} + password: ${{ secrets.EMAIL_PASSWORD }} + subject: my apk + body: Please find attached the APK. + from: 'joseernestosantosmoraes@gmail.com' + to: 'jose.ernesto.santos07@aluno.ifce.edu.br' + attachments: 'app-debug.apk' \ No newline at end of file