Update .github/workflows/maven-publish.yml

This commit is contained in:
stjepan.cvitanovic 2025-03-27 09:55:14 +01:00
parent 5b5a06a7ee
commit 19ae6718d6

View File

@ -42,6 +42,17 @@ jobs:
java-version: '21' java-version: '21'
distribution: 'corretto' 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 - name: Set up JDK from ENV
if: github.ref != 'refs/heads/feature/T2900-java21' && github.ref != 'refs/heads/feature/T2900-java-21' if: github.ref != 'refs/heads/feature/T2900-java21' && github.ref != 'refs/heads/feature/T2900-java-21'
uses: actions/setup-java@v4 uses: actions/setup-java@v4