[AB-199] adding build of sources and javadoc

fixing javadoc as various places
adding release plugin
adding developer connection to scm
updating release pipeline to new action versions
This commit is contained in:
Sheldan
2021-03-12 23:43:52 +01:00
parent 2ed456c164
commit a36a884ae9
19 changed files with 99 additions and 40 deletions

View File

@@ -15,20 +15,16 @@ jobs:
java-version: 1.8
- name: Load current version
id: version
run: echo "::set-output name=version::$(mvn --file abstracto-application/pom.xml -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive exec:exec)"
run: echo "version=$(mvn --file abstracto-application/pom.xml -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive exec:exec)" >> $GITHUB_ENV
- name: Publish to GitHub Packages
run: mvn --file abstracto-application/pom.xml -B deploy -P documentation,deployment-docker -Dmaven.wagon.http.pool=false -DskipTests=true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install SSH Client
uses: webfactory/ssh-agent@v0.3.0
with:
ssh-private-key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
- name: Deploy documentation to GitHub pages
uses: JamesIves/github-pages-deploy-action@releases/v3
uses: JamesIves/github-pages-deploy-action@4.1.0
with:
REPOSITORY_NAME: Sheldan/abstracto-docs
TARGET_FOLDER: docs/${{ steps.version.outputs.version }}
BRANCH: master
SSH: true
FOLDER: abstracto-application/documentation/target/generated-docs
repository-name: Sheldan/abstracto-docs
target-folder: docs/${{ env.version }}
branch: master
ssh-key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
folder: abstracto-application/documentation/target/generated-docs