blob: 607783fbef9f1522c2cdd53a6354815e23de144f [file] [log] [blame]
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Geode Kafka Build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
distribution: [ 'liberica' ]
java: [ '8' ]
steps:
- uses: actions/checkout@v3
- name: Set up JDK 1.8
uses: actions/setup-java@v3
with:
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.java }}
- name: Build with Maven
run: mvn -B package --file pom.xml
- uses: actions/upload-artifact@v3
if: failure()
with:
name: test-reports-${{ matrix.os }}-${{ matrix.java }}
path: build/reports
retention-days: 5