Write snapshot build info inside properties and check for snapshots updates too

This commit is contained in:
fgnm
2022-05-23 11:00:48 +02:00
parent 569a9a5629
commit 6d721c6e61
6 changed files with 41 additions and 10 deletions
+15
View File
@@ -21,6 +21,11 @@ jobs:
with:
distribution: 'temurin'
java-version: 17
- name: Add build info
env:
WORKFLOW_RUN: ${{ github.run_number }}
run: |
echo "build=$WORKFLOW_RUN" >> assets/configs/app.properties
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build JAR dist files
@@ -81,6 +86,11 @@ jobs:
with:
distribution: 'temurin'
java-version: 17
- name: Add build info
env:
WORKFLOW_RUN: ${{ github.run_number }}
run: |
echo "build=$WORKFLOW_RUN" >> assets/configs/app.properties
- name: Build JAR dist files
env:
WORKFLOW_RUN: ${{ github.run_number }}
@@ -119,6 +129,11 @@ jobs:
with:
distribution: 'temurin'
java-version: 17
- name: Add build info
env:
WORKFLOW_RUN: ${{ github.run_number }}
run: |
echo "build=$WORKFLOW_RUN" >> assets/configs/app.properties
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build JAR dist files