Skip to content

OneLiteFeatherNET/Github-Actions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

GitHub Shared Workflows

Centralized reusable GitHub Actions workflows for the OneLiteFeather organization.

This repository provides standardized CI/CD pipelines that can be reused across multiple projects to ensure consistency, reduce duplication, and simplify maintenance.


🚀 Quick Start

1️⃣ Reference a Reusable Workflow

In your project repository, create a workflow file:

.github/workflows/pr.yml

Example:

name: Build PR

on:
  pull_request:

jobs:
  build:
    uses: OneLiteFeatherNET/github-workflows/.github/workflows/build-pr-gradle.yml@v1
    with:
      java-version: "25"
      distribution: "temurin"
      gradle-task: "clean build"
    secrets:
      ONELITEFEATHER_MAVEN_USERNAME: ${{ secrets.ONELITEFEATHER_MAVEN_USERNAME }}
      ONELITEFEATHER_MAVEN_PASSWORD: ${{ secrets.ONELITEFEATHER_MAVEN_PASSWORD }}

2️⃣ Configure Required Secrets

In your repository:

Settings → Secrets and variables → Actions

Add the following secrets:

  • ONELITEFEATHER_MAVEN_USERNAME
  • ONELITEFEATHER_MAVEN_PASSWORD

3️⃣ Versioning

Always reference a tagged release:

@v1

Do NOT reference @main in production repositories, as breaking changes may be introduced.


📦 Available Workflows

Workflow File Description


build-pr-gradle.yml Multi-OS Gradle build for pull requests

Additional workflows may be added over time.


🔄 Updating Workflows

When changes are introduced:

  1. Update workflow files in this repository.
  2. Create a new semantic version tag (v1, v2, etc.).
  3. Consumers upgrade explicitly.

Breaking changes must increment the major version.


📜 License

This project is licensed under the MIT License.

See the LICENSE file for full details.


🤝 Contributing

Contributions are welcome.

Please open a pull request and ensure that changes remain backward compatible unless clearly versioned.

About

Centralized Github Actions

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors