ci: Fetch all revisions to calculate correct versionCode (#147)

Previous configuration only fetched the most recent revision. Since the
`orangeRelease` `versionCode` is calculated from the number of previous
revisions this always set the `versionCode` to 1.

Fetch all revisions to avoid this.
This commit is contained in:
Nik Clayton 2023-10-09 17:49:15 +02:00 committed by GitHub
parent 38214648dd
commit 8fd536b77f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v3 - uses: actions/setup-java@v3
with: with: