build(deps-dev): bump ch.qos.logback:logback-classic #258
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: Unit Test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
unit-test: | |
name: Unit Test | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
# ref: https://www.oracle.com/java/technologies/java-se-support-roadmap.html | |
java-version: [ "8", "11", "15" ] | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up JDK ${{ matrix.java-version }} | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java-version }} | |
distribution: 'zulu' # temurin don't provide jdk8 anymore | |
cache: maven | |
# cache Gradle package to speed up future runs after a successful run. | |
- name: Run the Maven verify phase | |
run: mvn --batch-mode verify -"DskipITs" -"Dgpg.skip" # double-quotes: workaround for powershell | |
- run: mkdir staging && cp target/*.jar staging | |
# store the built packages as part of the workflow run. | |
# Allow us to download these artifacts and import to project to help local test. | |
# with matrix, Each job overwrites what was previously uploaded, but it's fine for us. | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: jar-collection-${{ matrix.os }}-${{ matrix.java-version }} | |
path: staging | |
retention-days: 7 |