Update .github/workflows/maven-publish.yml
This commit is contained in:
parent
5b5a06a7ee
commit
19ae6718d6
11
.github/workflows/maven-publish.yml
vendored
11
.github/workflows/maven-publish.yml
vendored
@ -42,6 +42,17 @@ jobs:
|
||||
java-version: '21'
|
||||
distribution: 'corretto'
|
||||
|
||||
- name: Clone curh schemas
|
||||
run: |
|
||||
git clone git@devops.pravilanovait.hr:curh-backend/curh-schemas.git
|
||||
cd curh-schemas
|
||||
git checkout $BRANCH
|
||||
cd src/main/resources
|
||||
mkdir -p /opt/rizik
|
||||
cp -R xsd/ /opt/rizik/
|
||||
env:
|
||||
BRANCH: ${{ github.ref }}
|
||||
|
||||
- name: Set up JDK from ENV
|
||||
if: github.ref != 'refs/heads/feature/T2900-java21' && github.ref != 'refs/heads/feature/T2900-java-21'
|
||||
uses: actions/setup-java@v4
|
||||
|
Loading…
x
Reference in New Issue
Block a user