mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-21 20:56:45 +01:00
Fixup
This commit is contained in:
parent
9295bbfdae
commit
0edf11975e
25
.github/workflows/build-pr.yml
vendored
25
.github/workflows/build-pr.yml
vendored
@ -14,8 +14,6 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Validate Gradle Wrapper
|
- name: Validate Gradle Wrapper
|
||||||
uses: gradle/wrapper-validation-action@v1
|
uses: gradle/wrapper-validation-action@v1
|
||||||
- name: Setup Gradle
|
|
||||||
uses: gradle/gradle-build-action@v2
|
|
||||||
- name: Setup Java
|
- name: Setup Java
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
@ -23,26 +21,3 @@ jobs:
|
|||||||
java-version: 17
|
java-version: 17
|
||||||
- name: Clean Build
|
- name: Clean Build
|
||||||
run: ./gradlew clean build
|
run: ./gradlew clean build
|
||||||
- name: Upload test results
|
|
||||||
if: always()
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: Test Results ${{ matrix.os }}
|
|
||||||
path: Core/build/test-results/test/*.xml
|
|
||||||
|
|
||||||
publish-test-results:
|
|
||||||
name: "Publish Tests Results"
|
|
||||||
needs: build_pr
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
checks: write
|
|
||||||
if: always()
|
|
||||||
steps:
|
|
||||||
- name: Download Artifacts
|
|
||||||
uses: actions/download-artifact@v3
|
|
||||||
with:
|
|
||||||
path: artifacts
|
|
||||||
- name: Publish Test Results
|
|
||||||
uses: EnricoMi/publish-unit-test-result-action@v2
|
|
||||||
with:
|
|
||||||
junit_files: Core/build/test-results/test/*.xml
|
|
||||||
|
@ -1,17 +1,3 @@
|
|||||||
plugins {
|
|
||||||
id("com.gradle.enterprise") version("3.9")
|
|
||||||
}
|
|
||||||
|
|
||||||
gradleEnterprise {
|
|
||||||
if (System.getenv("CI") != null) {
|
|
||||||
buildScan {
|
|
||||||
publishAlways()
|
|
||||||
termsOfServiceUrl = "https://gradle.com/terms-of-service"
|
|
||||||
termsOfServiceAgree = "yes"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
rootProject.name = "PlotSquared"
|
rootProject.name = "PlotSquared"
|
||||||
|
|
||||||
include("Core", "Bukkit")
|
include("Core", "Bukkit")
|
||||||
|
Loading…
Reference in New Issue
Block a user