Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

codehaus-plexus/.github

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Codehaus Plexus shared GitHub Actions and configuration

Usage github build action

Create GitHub workflow (in in .github/workflows/maven.yml ) in project with content:

name: Verify

on: [push, pull_request]

jobs:
  build:
    name: Verify
    uses: codehaus-plexus/.github/.github/workflows/maven.yml@master (or tag)

Excludes from build matrix:

...
    uses: codehaus-plexus/.github/.github/workflows/maven.yml@master (or tag)
    with:
      matrix-exclude: >
        [ 
          {"jdk": "8"},   # exclude jdk 8 from all builds
          {"os": "windows-latest"}, # exclude windows from all builds
          {"jdk": "8", "os": "windows-latest"} # exclude jdk 8 on windows
        ]

Includes to build matrix:

...
    uses: codehaus-plexus/.github/.github/workflows/maven.yml@master (or tag)
    with:
      matrix-include: >
        [ 
          {"jdk": "24-ea", "os": "ubuntu-latest", distribution: "temurin" } # include latest Java 24-ea on Ubuntu
        ]

Usage release-drafter

To have the github release filled with Pull request content

in .github create a file release-drafter.yml with such content

_extends: .github
tag-template: plexus-utils-$NEXT_MINOR_VERSION (your tag name format)

in .github/workflows/release-drafter.yml

name: Release Drafter
on:
  push:
    branches:
      - master
jobs:
   update_release_draft:
      uses: codehaus-plexus/.github/.github/workflows/release-drafter.yml@master

Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 6

Morty Proxy This is a proxified and sanitized view of the page, visit original site.