File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,18 +2,16 @@ name: Build
22
33on :
44 push :
5- branches : [main, master, develop] # ignore noise from short-lived feature branches
5+ branches : [main, master, develop]
66 pull_request :
77 workflow_dispatch :
88
9- # Cancel any in-progress run on the same branch/PR when a new one is triggered.
10- # This prevents redundant builds piling up while you're actively pushing.
119concurrency :
1210 group : ${{ github.workflow }}-${{ github.ref }}
1311 cancel-in-progress : true
1412
1513env :
16- FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 : true # opt into Node.js 24 ahead of June 2026 forced migration
14+ FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 : true
1715
1816jobs :
1917 build :
@@ -32,12 +30,12 @@ jobs:
3230 java-version : ' 21'
3331
3432 - name : Set up Gradle
35- uses : gradle/actions/setup-gradle@v4
33+ uses : gradle/actions/setup-gradle@v6
3634
3735 - name : Build
3836 run : |
3937 chmod +x ./gradlew
40- ./gradlew --no-daemon shadowJar
38+ ./gradlew shadowJar
4139
4240 - name : Collect JARs
4341 run : |
5250 - name : Upload JARs
5351 uses : actions/upload-artifact@v4
5452 with :
55- name : jars-${{ github.sha }} # include commit SHA so each run's artifact is uniquely identifiable
53+ name : jars-${{ github.sha }}
5654 path : jars/*.jar
5755 if-no-files-found : error
5856 retention-days : 14
You can’t perform that action at this time.
0 commit comments