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