Skip to content

Commit

Permalink
Merge pull request #8 from ErnestoMoraes/dev
Browse files Browse the repository at this point in the history
teste apk - caminho
  • Loading branch information
ErnestoMoraes committed Mar 14, 2023
2 parents 436317f + 06c74d7 commit 3a6d2ba
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
with:
min_coverage: 0

build_appbundle:
build:
name: Build Flutter (Android)
needs: [flutter_test]
runs-on: ubuntu-latest
Expand All @@ -50,29 +50,30 @@ jobs:
- run: flutter pub get
- run: flutter clean
- run: flutter build apk
- name: Upload apk

- name: Upload APK
uses: actions/upload-artifact@v3
with:
name: my apk
path: build/app/outputs/bundle/release/app-release.apk
name: My APK
path: build/app/outputs/flutter-apk/app-release.apk

email:
name: Enviando Email
needs: [build_appbundle]
runs-on: ubuntu-latest
steps:
- name: Download APK Artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: my apk
name: My APK
- name: Send Email with APK Attachment
uses: dawidd6/[email protected]
with:
server_address: smtp.gmail.com
server_port: 587
username: ${{ secrets.EMAIL_USERNAME }}
password: ${{ secrets.EMAIL_PASSWORD }}
subject: my apk
subject: My APK
body: Please find attached the APK.
from: '[email protected]'
to: '[email protected]'
Expand Down

0 comments on commit 3a6d2ba

Please sign in to comment.