Skip to content

Commit

Permalink
checkout with depth for generated versionCode
Browse files Browse the repository at this point in the history
  • Loading branch information
thebino committed Aug 19, 2023
1 parent db42f72 commit 8cde670
Showing 1 changed file with 24 additions and 12 deletions.
36 changes: 24 additions & 12 deletions .github/workflows/continuous-delivery-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: '0'

- name: Set up JDK 17
uses: actions/setup-java@v3
Expand All @@ -27,7 +29,7 @@ jobs:
run: chmod +x ./gradlew

- name: Cache between builds
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
Expand All @@ -46,7 +48,9 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: '0'

- name: Set up JDK 17
uses: actions/setup-java@v3
Expand All @@ -58,7 +62,7 @@ jobs:
run: chmod +x ./gradlew

- name: Cache between builds
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
Expand All @@ -83,7 +87,9 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: '0'

- name: Set up JDK 17
uses: actions/setup-java@v3
Expand All @@ -92,7 +98,7 @@ jobs:
java-version: 17

- name: Cache between builds
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
Expand Down Expand Up @@ -121,7 +127,9 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: '0'

- name: Set up JDK 17
uses: actions/setup-java@v3
Expand All @@ -130,7 +138,7 @@ jobs:
java-version: 17

- name: Cache between builds
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
Expand Down Expand Up @@ -187,7 +195,9 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: '0'

- name: Set up JDK 17
uses: actions/setup-java@v3
Expand All @@ -196,7 +206,7 @@ jobs:
java-version: 17

- name: Cache between builds
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
Expand All @@ -206,7 +216,7 @@ jobs:
${{ runner.os }}-gradle-
- name: AVD cache
uses: actions/cache@v2
uses: actions/cache@v3
id: avd-cache
with:
path: |
Expand Down Expand Up @@ -253,7 +263,9 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: '0'

- name: Set up JDK 17
uses: actions/setup-java@v3
Expand All @@ -262,7 +274,7 @@ jobs:
java-version: 17

- name: Cache between builds
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
Expand Down

0 comments on commit 8cde670

Please sign in to comment.