Skip to content

Commit 3098a9f

Browse files
committed
ci: fix YAML, enable PR builds, upload artifacts
1 parent 5ccb63d commit 3098a9f

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Set up Temurin JDK 21
2121
uses: actions/setup-java@v4
2222
with:
23-
distribution: 'temurin'
23+
distribution: temurin
2424
java-version: '21'
2525

2626
- name: Setup Gradle
@@ -29,13 +29,12 @@ jobs:
2929
- name: Make gradlew executable
3030
run: chmod +x gradlew
3131

32-
# Build the fat jar with our custom task
33-
- name: Build
32+
- name: Build (uberJar)
3433
run: ./gradlew --no-daemon clean uberJar
3534

36-
# Publish the jar as a CI artifact for convenience
37-
- name: Upload artifact
35+
- name: Upload build artifact
3836
uses: actions/upload-artifact@v4
3937
with:
40-
name: modnvote-jar
38+
name: modnvote-${{ github.run_number }}
4139
path: build/libs/*.jar
40+
if-no-files-found: error

0 commit comments

Comments
 (0)