From 890c79431255435e800be5167b71c9c8e644cef9 Mon Sep 17 00:00:00 2001 From: Damien Jeandemange Date: Mon, 16 Dec 2024 11:44:44 +0100 Subject: [PATCH] fix Signed-off-by: Damien Jeandemange --- .github/workflows/snapshot-ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/snapshot-ci.yml b/.github/workflows/snapshot-ci.yml index 92986bd..06041be 100644 --- a/.github/workflows/snapshot-ci.yml +++ b/.github/workflows/snapshot-ci.yml @@ -42,6 +42,12 @@ jobs: KNITRO_DOWNLOAD_PASSWORD: ${{ secrets.KNITRO_DOWNLOAD_PASSWORD }} KNITRO_WINDOWS_URL: ${{ secrets.KNITRO_WINDOWS_URL }} + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '17' + # Define script path variable - name: Set up script path shell: bash @@ -51,7 +57,7 @@ jobs: SCRIPTS_PATH=$(echo "$SCRIPTS_PATH" | sed 's/\\/\//g') fi echo "SCRIPTS_PATH=$SCRIPTS_PATH" >> $GITHUB_ENV - git config --system core.longpaths true + git config --global core.longpaths true # Build powsybl-core on main branch - name: Checkout core sources @@ -97,12 +103,6 @@ jobs: - name: Checkout sources uses: actions/checkout@v4 - - name: Set up JDK 17 - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '17' - - name: update pom.xml with snapshot versions run: | mvn versions:set-property -Dproperty=powsybl-core.version -DnewVersion=$CORE_VERSION -DgenerateBackupPoms=false