added builds

This commit is contained in:
PNV 2022-03-18 13:43:10 +03:00
parent 181a053ce7
commit 55e361ecbd
6 changed files with 50 additions and 4 deletions

15
.github/workflows/basic-linters.yml vendored Normal file
View File

@ -0,0 +1,15 @@
name: Vality basic linters
on:
pull_request:
branches:
- master
- main
push:
branches:
- master
- main
jobs:
lint:
uses: valitydev/base-workflows/.github/workflows/basic-linters.yml@v1

10
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,10 @@
name: Maven Build Artifact
on:
pull_request:
branches:
- '*'
jobs:
build:
uses: valitydev/base-workflow/.github/workflows/maven-swag-build.yml@v1

18
.github/workflows/deploy.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: Maven Deploy Artifact
on:
push:
branches:
- 'master'
- 'main'
jobs:
deploy:
uses: valitydev/java-workflow/.github/workflows/maven-swag-deploy.yml@v1
secrets:
server-username: ${{ secrets.OSSRH_USERNAME }}
server-password: ${{ secrets.OSSRH_TOKEN }}
deploy-secret-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
deploy-secret-key-password: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
github-token: ${{ secrets.GITHUB_TOKEN }}
mm-webhook-url: ${{ secrets.MATTERMOST_WEBHOOK_URL }}

2
.github/workflows/settings.yml vendored Normal file
View File

@ -0,0 +1,2 @@
# These settings are synced to GitHub by https://probot.github.io/apps/settings/
_extends: .github

View File

@ -14,7 +14,8 @@
"shelljs": "^0.8.3",
"swagger-repo": "^1.5.1",
"swagger-ui": "^3.24.3",
"json-merge-patch": "^0.2.3"
"json-merge-patch": "^0.2.3",
"redoc-cli": "^0.10.2"
},
"private": true,
"scripts": {

View File

@ -6,8 +6,8 @@
<parent>
<groupId>dev.vality</groupId>
<artifactId>parent</artifactId>
<version>1.0.0</version>
<artifactId>library-parent-pom</artifactId>
<version>1.0.2</version>
</parent>
<artifactId>swag-analytics</artifactId>
@ -194,4 +194,4 @@
</profile>
</profiles>
</project>
</project>