Skip to content

Update ci.yaml

Update ci.yaml #9

Workflow file for this run

# Copyright 2020, 2025, Oracle Corporation and/or its affiliates.
#
# Licensed under the Universal Permissive License v 1.0 as shown at
# http://oss.oracle.com/licenses/upl.
# ---------------------------------------------------------------------------
# Coherence CE GitHub Actions CI build.
# ---------------------------------------------------------------------------
name: CI Pipeline
on:
workflow_dispatch:
push:
branches-ignore:
- gh-pages
- p4-integ*
- last-p4-*
pull_request:
types:
- opened
- committed
branches:
- '*'
env:
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false
jobs:
dump:
runs-on: ubuntu-latest
steps:
- name: Dump github context
run: echo "$GITHUB_CONTEXT"
shell: bash
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
build:
name: CI Build - Linux
uses: ./.github/workflows/build.yaml
with:
runner: ubuntu-latest
jdk: 21
# windows:
# name: CI Build - Windows
# uses: ./.github/workflows/build.yaml
# with:
# runner: windows-latest
# jdk: 21
examples:
name: Examples Build
uses: ./.github/workflows/build-examples.yaml
with:
runner: ubuntu-latest
jdk: 21
deploy:
if: github.repository == 'thegridman/coherence' && (github.ref_name == 'main' || startsWith(github.ref_name, 'v1') || startsWith(github.ref_name, 'v2') || startsWith(github.ref_name, 'v3'))
name: Deploy Snapshot
uses: ./.github/workflows/deploy-snapshots.yaml
with:
runner: ubuntu-latest
jdk: 21
needs:
- build
- examples