mirror of
https://github.com/valitydev/validator-personal-data-proto.git
synced 2024-11-06 08:25:18 +00:00
fix java deploy [2]
This commit is contained in:
parent
ffc5be0dab
commit
adad5026cb
21
.github/workflows/frontend-pr.yml
vendored
21
.github/workflows/frontend-pr.yml
vendored
@ -1,21 +0,0 @@
|
||||
name: 'Frontend: PR'
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: ['*']
|
||||
|
||||
jobs:
|
||||
configured:
|
||||
uses: valitydev/action-frontend/.github/workflows/configured.yml@v0.1
|
||||
check:
|
||||
name: Check
|
||||
runs-on: ubuntu-latest
|
||||
needs: configured
|
||||
if: needs.configured.outputs.exists == 'true'
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: valitydev/action-frontend/setup@v1
|
||||
- uses: valitydev/action-setup-thrift@v1.0.1
|
||||
- run: npm i # protocols don't always update the package-lock.json, so installing from package.json
|
||||
- name: Codegen
|
||||
run: npm run codegen
|
24
.github/workflows/frontend-publish.yml
vendored
24
.github/workflows/frontend-publish.yml
vendored
@ -1,24 +0,0 @@
|
||||
name: 'Frontend: Publish'
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ['master', 'main']
|
||||
|
||||
jobs:
|
||||
configured:
|
||||
uses: valitydev/action-frontend/.github/workflows/configured.yml@v0.1
|
||||
publish:
|
||||
name: Publish
|
||||
runs-on: ubuntu-latest
|
||||
needs: configured
|
||||
if: needs.configured.outputs.exists == 'true'
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: valitydev/action-frontend/setup@v1
|
||||
- uses: valitydev/action-setup-thrift@v1.0.1
|
||||
- run: npm i # protocols don't always update the package-lock.json, so installing from package.json
|
||||
- name: Build
|
||||
run: npm run codegen
|
||||
- uses: valitydev/action-frontend/publish@v1
|
||||
with:
|
||||
npm-token: ${{ secrets.NPM_TOKEN }}
|
26
pom.xml
26
pom.xml
@ -10,7 +10,6 @@
|
||||
<version>2.0.2</version>
|
||||
</parent>
|
||||
|
||||
<groupId>com.empayre</groupId>
|
||||
<artifactId>validator-personal-data-proto</artifactId>
|
||||
<version>${revision}</version>
|
||||
<packaging>jar</packaging>
|
||||
@ -45,7 +44,7 @@
|
||||
</scm>
|
||||
|
||||
<dependencies>
|
||||
<!--empayre-->
|
||||
<!--vality-->
|
||||
<dependency>
|
||||
<groupId>dev.vality.woody</groupId>
|
||||
<artifactId>woody-thrift</artifactId>
|
||||
@ -88,6 +87,29 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<version>3.4.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>shade</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<relocations>
|
||||
<relocation>
|
||||
<pattern>dev.vality.pdvalidator</pattern>
|
||||
<shadedPattern>dev.vality.pdvalidator.v${commit.number}</shadedPattern>
|
||||
</relocation>
|
||||
</relocations>
|
||||
<shadedArtifactAttached>true</shadedArtifactAttached>
|
||||
<shadedClassifierName>v${commit.number}</shadedClassifierName>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user