Skip to content

Commit

Permalink
dist workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix-Kariuki committed Oct 8, 2022
1 parent cc672aa commit 31eded9
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 39 deletions.
74 changes: 37 additions & 37 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,43 +121,43 @@ jobs:
asset_path: Yummy/app-debug.apk
asset_name: Yummy.apk
asset_content_type: application/zip
#
# firebase-deploy:
# name: 📨 Deploy to Firebase App Distribution
# needs: [ generate-apk ]
# runs-on: ubuntu-latest
# steps:
# - name: Checkout Code
# uses: actions/checkout@v1
#
# - name: Download APK from build
# uses: actions/download-artifact@v1
# with:
# name: Android-CI-CD
#
# - name: Upload Artifact to Firebase App Distribution
# uses: wzieba/Firebase-Distribution-Github-Action@v1.2.2
# with:
# appId: ${{secrets.FIREBASE_APP_ID}}
# token: ${{secrets.FIREBASE_TOKEN}}
# groups: testers
# file: Android-CI-CD/app-debug.apk

# playstore-deploy:
# name: 🚀 Deploy to Play Store
# needs: [ generate-apk ]
# runs-on: ubuntu-latest
# steps:
# - name: Checkout Code
# uses: actions/checkout@v1
#
# send-message:
# name: 📢 Send Message
# needs: [ create-release, firebase-deploy, playstore-deploy ]
# runs-on: ubuntu-latest
# steps:
# - name: Checkout Code
# uses: actions/checkout@v1

firebase-deploy:
name: 📨 Deploy to Firebase App Distribution
needs: [ generate-apk ]
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v1

- name: Download APK from build
uses: actions/download-artifact@v1
with:
name: Yummy

- name: Upload Artifact to Firebase App Distribution
uses: wzieba/Firebase-Distribution-Github-Action@v1.2.2
with:
appId: ${{secrets.FIREBASE_APP_ID}}
token: ${{secrets.FIREBASE_TOKEN}}
groups: Testers
file: Yummy/app-debug.apk

playstore-deploy:
name: 🚀 Deploy to Play Store
needs: [ generate-apk ]
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v1

send-message:
name: 📢 Send Message
needs: [ create-release, firebase-deploy, playstore-deploy ]
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v1

#name: Android Build
#
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ android {
applicationId "com.flexcode.yummy"
minSdk rootProject.MIN_SDK
targetSdk rootProject.TARGET_SDK
versionCode 2
versionName "1.0.0"
versionCode 3
versionName "1.0.1"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
Expand Down

0 comments on commit 31eded9

Please sign in to comment.