chore(deps-dev): bump org.jenkins-ci.main:jenkins-core from 2.442 to … #3285
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
paths: | |
- 'resources/**' | |
- 'src/**' | |
- 'vars/**' | |
- '.github/workflows/build-test.yml' | |
- '.mvn/*' | |
- 'pom.xml' | |
- 'mvnw' | |
# limit the access of the generated GITHUB_TOKEN | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
cache: 'maven' | |
- name: Build with Maven | |
run: mvn --batch-mode --update-snapshots package | |
- uses: v1v/otel-upload-test-artifact-action@v2 | |
if: success() || failure() | |
continue-on-error: true | |
with: | |
jobName: "build" | |
stepName: "Build with Maven" | |
path: "target/surefire-reports/*.xml" | |
type: "junit" | |
githubToken: ${{ secrets.GITHUB_TOKEN }} | |
- name: Store test results | |
if: success() || failure() | |
continue-on-error: true | |
uses: actions/upload-artifact@v3 | |
with: | |
name: test-results | |
path: "target/surefire-reports/*.xml" |