Clone curh-shemas in release
This commit is contained in:
parent
943e728d68
commit
91c1f67447
21
.github/workflows/maven-release.yml
vendored
21
.github/workflows/maven-release.yml
vendored
@ -14,6 +14,8 @@ on:
|
||||
required: true
|
||||
JAVA_VERSION:
|
||||
required: true
|
||||
DEVOPS_ACCESS_TOKEN:
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -26,6 +28,25 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Checkout tools repo main branch
|
||||
uses: actions/checkout@v4
|
||||
env:
|
||||
check_token: ${{ secrets.DEVOPS_ACCESS_TOKEN }}
|
||||
if: ${{ env.check_token != '' }}
|
||||
with:
|
||||
repository: curh-backend/curh-schemas
|
||||
path: curh-schemas
|
||||
ref: main
|
||||
token: ${{ secrets.DEVOPS_ACCESS_TOKEN }}
|
||||
|
||||
- name: Unpack curh schemas
|
||||
if: ${{ hashFiles('curh-schemas/pom.xml') != '' }}
|
||||
run: |
|
||||
ls -al
|
||||
cd curh-schemas/src/main/resources
|
||||
mkdir -p /opt/rizik
|
||||
cp -R xsd/ /opt/rizik/
|
||||
|
||||
- name: Set up Maven
|
||||
uses: stCarolas/setup-maven@v5
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user