Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
HamdiBoumaiza committed Sep 11, 2023
1 parent a5dfe8d commit 8bd0102
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/actions/java-set-up/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ description: Sets up Java
runs:
using: "composite"
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: use JDK 17
uses: actions/setup-java@v3
with:
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
runs-on: ubuntu-latest # machine the job is going to run inside

steps: # each job has a series of steps
- name: Checkout code
uses: actions/checkout@v3

- uses: ./.github/actions/java-set-up

Expand All @@ -32,6 +34,10 @@ jobs:
runs-on: ubuntu-latest

steps:

- name: Checkout code
uses: actions/checkout@v3

- uses: ./.github/actions/java-set-up

- name: Lint check
Expand All @@ -50,6 +56,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- uses: ./.github/actions/java-set-up

Expand All @@ -66,6 +74,10 @@ jobs:
needs: [ build, unit-tests, lint-check ]
runs-on: ubuntu-latest
steps:

- name: Checkout code
uses: actions/checkout@v3

- uses: ./.github/actions/java-set-up

- name: Build debug apk
Expand All @@ -85,6 +97,9 @@ jobs:

steps:

- name: Checkout code
uses: actions/checkout@v3

- uses: ./.github/actions/java-set-up

- name: Build debug apk
Expand Down

0 comments on commit 8bd0102

Please sign in to comment.