diff --git a/.github/workflows/deploy_maven_package.yml b/.github/workflows/deploy_maven_package.yml new file mode 100644 index 0000000..c93f8f1 --- /dev/null +++ b/.github/workflows/deploy_maven_package.yml @@ -0,0 +1,36 @@ +# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven + +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +name: CI deploy maven package + +on: + push: + branches: + - deploy + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'corretto' + cache: maven + - name: Release Maven package + uses: samuelmeuli/action-maven-publish@v1 + with: + gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} + gpg_passphrase: ${{ secrets.PASSPHRASE }} + nexus_username: ${{ secrets.OSS_USERNAME }} + nexus_password: ${{ secrets.OSS_PASSWORD }} + maven_args: -P doRelease diff --git a/CHANGELOG.md b/CHANGELOG.md index d5bec10..a7bb184 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,10 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.1.0-sa.1] - 2023-09-16 + ### Added - [Sonar cloud workflow](.github/workflows/sonarcloud-maven.yml) - [Maven build workflow](.github/workflows/build_maven_package.yml) +- [workflow deploy on branch deploy](.github/workflows/deploy_maven_package.yml) - Sonar Cloud coverage badge - keep a changelog badge diff --git a/pom.xml b/pom.xml index d7446a4..f7c15bb 100644 --- a/pom.xml +++ b/pom.xml @@ -7,13 +7,13 @@ org.fugerit.java fj-doc - 2.0.2 + 3.0.4 fj-doc-mod-openpdf Fugerit DOC module for output in PDF, RTF and HTML using OpenPDF (Itext fork) - 1.0.1-SNAPSHOT + 1.1.0-sa.1