Skip to content

Commit

Permalink
Update tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
itsnitish22 authored Jun 23, 2022
1 parent 8ca3c5e commit 403dd4e
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Android Pull Request & Master CI & CD to Firebase
on:
pull_request:
branches:
- 'main'
- 'master'
push:
branches:
- 'main'
- 'master'

jobs:
test:
Expand All @@ -17,10 +17,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v2.4.0
- name: Setup JDK
uses: actions/setup-java@v2.5.0
uses: actions/setup-java@v1
with:
distribution: 'temurin'
java-version: '11'
java-version: '1.8'
- name: Set execution flag for gradlew
run: chmod +x gradlew
- name: Unit tests
Expand All @@ -33,10 +32,9 @@ jobs:
steps:
- uses: actions/checkout@v2.4.0
- name: Setup JDK
uses: actions/setup-java@v2.5.0
uses: actions/setup-java@v1
with:
distribution: 'temurin'
java-version: '11'
java-version: '1.8'
- name: build release
run: bash ./gradlew assembleDebug
- name: upload artifact to Firebase App Distribution
Expand All @@ -54,10 +52,9 @@ jobs:
steps:
- uses: actions/checkout@v2.4.0
- name: Setup JDK
uses: actions/setup-java@v2.5.0
uses: actions/setup-java@v1
with:
distribution: 'temurin'
java-version: '11'
java-version: '1.8'
- name: Set execution flag for gradlew
run: chmod +x gradlew
- name: Build debug APK
Expand Down

0 comments on commit 403dd4e

Please sign in to comment.