Skip to content

Format

Format #255

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- "*"
jobs:
Linux:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Main Build
uses: ./.github/actions/run-gradle
- name: Upload to Codecov.io
uses: codecov/codecov-action@v3
- name: Functional Tests
uses: ./.github/actions/run-gradle
with:
arguments: functionalTest --parallel
Windows:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Main Build
uses: ./.github/actions/run-gradle
- name: Functional Tests
uses: ./.github/actions/run-gradle
with:
arguments: functionalTest --parallel
macOS:
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Main Build
uses: ./.github/actions/run-gradle
- name: Functional Tests
uses: ./.github/actions/run-gradle
with:
arguments: functionalTest --parallel
publish_snapshot_artifacts:
name: Publish Snapshot Artifacts
needs: linux
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.repository == 'ciscoo/cxf-codegen-gradle' && github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v4
- name: Publish
uses: ./.github/actions/run-gradle
env:
ORG_GRADLE_PROJECT_sonatypeSnapshotsUsername: ${{ secrets.SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_sonatypeSnapshotsPassword: ${{ secrets.SONATYPE_PASSWORD }}
with:
arguments: publishAllPublicationsToSonatypeSnapshotsRepository -x check
update_snapshot_documentation:
name: Update Snapshot Documentation
needs: linux
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.repository == 'ciscoo/cxf-codegen-gradle' && github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v4
- name: 'Publish Snapshot Documentation'
env:
GRGIT_USER: ${{ secrets.GH_TOKEN }}
run: .github/workflows/maybePublishSnapshotDocs.sh