mirror of
https://github.com/apple/pkl.git
synced 2026-04-22 16:28:34 +02:00
Adjust CI to not publish test results for deploy-snapshot (#1357)
This commit is contained in:
2
.github/index.pkl
vendored
2
.github/index.pkl
vendored
@@ -21,8 +21,8 @@ testReports {
|
|||||||
}
|
}
|
||||||
excludeJobs {
|
excludeJobs {
|
||||||
"bench"
|
"bench"
|
||||||
"deploy-release"
|
|
||||||
"github-release"
|
"github-release"
|
||||||
|
Regex("deploy-.*")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
14
.github/workflows/main.yml
generated
vendored
14
.github/workflows/main.yml
generated
vendored
@@ -779,19 +779,6 @@ jobs:
|
|||||||
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.ORG_GRADLE_PROJECT_SONATYPEPASSWORD }}
|
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.ORG_GRADLE_PROJECT_SONATYPEPASSWORD }}
|
||||||
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.ORG_GRADLE_PROJECT_SONATYPEUSERNAME }}
|
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.ORG_GRADLE_PROJECT_SONATYPEUSERNAME }}
|
||||||
run: ./gradlew --info --stacktrace --no-daemon -DpklMultiJdkTesting=true --no-parallel publishToSonatype
|
run: ./gradlew --info --stacktrace --no-daemon -DpklMultiJdkTesting=true --no-parallel publishToSonatype
|
||||||
- name: Upload Test Result XML
|
|
||||||
if: '!cancelled()'
|
|
||||||
uses: actions/upload-artifact@v5
|
|
||||||
with:
|
|
||||||
name: test-results-xml-deploy-snapshot
|
|
||||||
path: '**/build/test-results/**/*.xml'
|
|
||||||
- name: Upload Test Result HTML
|
|
||||||
if: '!cancelled()'
|
|
||||||
uses: actions/upload-artifact@v5
|
|
||||||
with:
|
|
||||||
name: test-results-html-deploy-snapshot
|
|
||||||
path: '**/build/reports/tests/**/*'
|
|
||||||
if-no-files-found: ignore
|
|
||||||
publish-test-results:
|
publish-test-results:
|
||||||
if: '!failure() && !cancelled()'
|
if: '!failure() && !cancelled()'
|
||||||
needs:
|
needs:
|
||||||
@@ -811,7 +798,6 @@ jobs:
|
|||||||
- pkl-doc-linux-aarch64-snapshot
|
- pkl-doc-linux-aarch64-snapshot
|
||||||
- pkl-doc-alpine-linux-amd64-snapshot
|
- pkl-doc-alpine-linux-amd64-snapshot
|
||||||
- pkl-doc-windows-amd64-snapshot
|
- pkl-doc-windows-amd64-snapshot
|
||||||
- deploy-snapshot
|
|
||||||
permissions:
|
permissions:
|
||||||
checks: write
|
checks: write
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user