From 151ff7f10b1aeadc5ea3405823531bd68bb58762 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=85smund=20V=C3=A5ge=20Fannemel?= <34712686+asmfstatoil@users.noreply.github.com> Date: Fri, 22 Dec 2023 18:22:48 +0100 Subject: [PATCH] Update release_with_jars.yml --- .github/workflows/release_with_jars.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release_with_jars.yml b/.github/workflows/release_with_jars.yml index fc5237d3ce..c0c6093e59 100644 --- a/.github/workflows/release_with_jars.yml +++ b/.github/workflows/release_with_jars.yml @@ -109,8 +109,10 @@ jobs: cache: 'maven' - name: Build java 21 version with Maven run: mvn -B package --file pomJava21.xml + - name: Rename files + run: cd target && find . -type f -name "neqsim-*.jar" -exec sh -c 'mv -f $0 ${0%.jar}-Java21.jar.' {} \; - name: Copy jar file to staging - run: mkdir staging && cp target/neqsim*Java21.jar staging + run: cd .. && mkdir staging && cp target/neqsim*Java21.jar staging - uses: actions/upload-artifact@v2 with: name: jarfiles