Skip to content

Merge pull request #127 from bric3/renovate/com.fasterxml.jackson.cor… #312

Merge pull request #127 from bric3/renovate/com.fasterxml.jackson.cor…

Merge pull request #127 from bric3/renovate/com.fasterxml.jackson.cor… #312

Workflow file for this run

name: Master Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
continue-on-error: ${{ matrix.experimental }}
name: Build on ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
experimental: [false]
include:
- os: windows-latest
experimental: true
- os: macos-latest
experimental: true
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v1
- name: Setup JVM
uses: actions/setup-java@v4
with:
distribution : zulu
java-version: |
19
17
- name : Setup Gradle
uses : gradle/gradle-build-action@v2
- run: ./gradlew build
# - name: list build directory
# if: ${{ always() }}
# run: |
# ls build
- uses: mikepenz/action-junit-report@v4
if: ${{ always() }}
name: Publish Test Report
with:
check_name: Test Report - ${{ matrix.os }}
report_paths: '**/build/test-results/test/TEST-*.xml'
github_token: ${{ secrets.GITHUB_TOKEN }}
# publish-test-results:
# name: "Publish Unit Tests Results"
# needs: gradle
# runs-on: ubuntu-latest
# # the build-and-test job might be skipped, we don't need to run this job then
# if: success() || failure()
#
# steps:
# - name: Download Artifacts
# uses: actions/download-artifact@v2
# with:
# path: artifacts
#
# - name: Publish Unit Test Results
# uses: EnricoMi/[email protected]
# with:
# check_name: Unit Test Results
# github_token: ${{ secrets.GITHUB_TOKEN }}
# files: pytest.xml
publish:
name: Publish snapshots
runs-on: ubuntu-latest
needs: build
if: success() && github.event_name != 'pull_request' && github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: gradle/wrapper-validation-action@v1
- name: Setup JVM
uses: actions/setup-java@v4
with:
distribution : zulu
java-version: |
19
17
- name : Setup Gradle
uses : gradle/gradle-build-action@v2
- run: ./gradlew snapshot -Ppublish.central=true
env:
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD }}
ORG_GRADLE_PROJECT_ossrhUsername: ${{ secrets.ORG_GRADLE_PROJECT_OSSRHUSERNAME }}
ORG_GRADLE_PROJECT_ossrhPassword: ${{ secrets.ORG_GRADLE_PROJECT_OSSRHPASSWORD }}