Skip to content

Commit 9d1391f

Browse files
committed
Checkout first - then calculate build number
1 parent 5728618 commit 9d1391f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/app-release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,17 @@ jobs:
2828
echo "${{ secrets.SERVICE_ACCOUNT }}" > service_account.json.asc
2929
gpg -d --passphrase "${{ secrets.GPG_ENCRYPTION_KEY }}" --batch service_account.json.asc > service_account.json
3030
31-
- name: "Calculate build number"
32-
id: version_information
33-
uses: ./.github/actions/version_information
3431
3532
- name: Check out java
3633
uses: actions/setup-java@v3
3734
with:
3835
distribution: 'adopt'
3936
java-version: 17
4037

38+
- name: "Calculate build number"
39+
id: version_information
40+
uses: ./.github/actions/version_information
41+
4142
- name: Copy CI gradle.properties
4243
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
4344

0 commit comments

Comments
 (0)