diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..eff90ad --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +custom: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=donations%40cthing.com&item_name=cthing-projectversion¤cy_code=USD&source=url diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..63388a1 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + workflow_dispatch: + +permissions: + contents: read + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Java + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '17' + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3 + - name: Run clean build javadoc + run: ./gradlew clean build javadoc diff --git a/README.md b/README.md index 61c73a8..740229a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ # ![C Thing Software](https://www.cthing.com/branding/CThingSoftware-57x60.png "C Thing Software") cthing-projectversion +[![CI](https://github.com/cthing/cthing-projectversion/actions/workflows/ci.yml/badge.svg)](https://github.com/cthing/cthing-projectversion/actions/workflows/ci.yml) +[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.cthing/cthing-projectversion/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.cthing/cthing-projectversion) +[![javadoc](https://javadoc.io/badge2/org.cthing/cthing-projectversion/javadoc.svg)](https://javadoc.io/doc/org.cthing/cthing-projectversion) + A version object for C Thing Software projects. This is a semantic version with additional build identification information. The additional information indicates the build type and whether the build is being performed by the C Thing Software Continuous Integration service or on a developer's machine. The following versioning scheme is