Skip to content

problem: doesn't publish to Maven #93

problem: doesn't publish to Maven

problem: doesn't publish to Maven #93

Workflow file for this run

name: Tests
on:
# if pushed directly to the master
push:
branches:
- master
- release/*
- ci/*
# on a pull request
pull_request:
branches:
- master
- release/*
- ci/*
jobs:
# Run unit tests and submit Coverage Report
unit-test:
name: Standard Unit Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 17
- name: Check
uses: eskatos/gradle-command-action@v1
with:
arguments: check
- name: Build Coverage Report
uses: eskatos/gradle-command-action@v1
with:
arguments: coverageReport
- name: Upload Coverage Report
uses: codecov/codecov-action@v1
with:
file: ./build/reports/jacoco/coverageReport/coverageReport.xml
# Make sure it works with all standard JVMs on main OSes
platform-test:
name: Java ${{ matrix.java }} on ${{ matrix.os }}
continue-on-error: ${{ matrix.java != '17' }}
strategy:
matrix:
java: ["17", "21"]
os: ["windows-latest", "macos-latest", "ubuntu-latest"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Check
uses: eskatos/gradle-command-action@v1
with:
arguments: check