File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 38
38
${{ runner.os }}-gradle-
39
39
40
40
- name : Build project
41
- run : ./gradlew build
41
+ run : ./gradlew shadowJar
42
42
43
- - name : Publish JAR to pre-release
43
+ - name : Generate timestamp
44
+ id : timestamp
45
+ run : echo "timestamp=$(date +'%Y%m%d-%H%M%S')" >> $GITHUB_OUTPUT
46
+
47
+ - name : Publish single pre-release
44
48
uses : ncipollo/release-action@v1
45
49
with :
46
50
artifacts : " build/libs/*.jar"
49
53
body : |
50
54
🚧 This is the latest build from the `develop` branch.
51
55
Not intended for production use.
56
+
57
+ **Last Updated:** ${{ steps.timestamp.outputs.timestamp }}
58
+ **Build Info:**
59
+ - Branch: `${{ github.ref_name }}`
60
+ - Commit: `${{ github.sha }}`
61
+ - Build Time: `${{ steps.timestamp.outputs.timestamp }}`
52
62
prerelease : true
53
63
allowUpdates : true
54
64
replacesArtifacts : true
You can’t perform that action at this time.
0 commit comments