We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e04763 commit d6096b3Copy full SHA for d6096b3
1 file changed
.github/workflows/build_and_publish.yml
@@ -13,13 +13,13 @@
13
java-version: 17
14
distribution: temurin
15
16
- - name: Build with Gradle
17
- run: ./gradlew build
+ - name: Build
+ run: ./gradlew build -x test
18
19
- - name: run test
+ - name: Test
20
run: ./gradlew test check
21
22
- - name: sonar
+ - name: Sonar
23
run: ./gradlew jacocoTestCoverageVerification jacocoTestReport sonar
24
env:
25
SONAR_URL: ${{ secrets.SONAR_URL }}
@@ -29,4 +29,13 @@
29
name: Publish
30
run: ./gradlew build modrinth
31
32
- MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
+ MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
33
+
34
+ - name: Store reports if any
35
+ if: failure()
36
+ uses: actions/upload-artifact@v4
37
+ with:
38
+ name: reports
39
+ path: |
40
+ **/build/reports/
41
+ **/build/test-results/
0 commit comments