From 82eb91f8ccae32dff0a287dff5bedd491a079aef Mon Sep 17 00:00:00 2001 From: aboyko Date: Fri, 14 Jul 2023 09:46:50 -0400 Subject: [PATCH] GH Hosted: self-extr jar checksum --- .github/scripts/sign-exe-in-zip-file.sh | 9 ++++----- .github/workflows/eclipse-distro-build.yml | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/scripts/sign-exe-in-zip-file.sh b/.github/scripts/sign-exe-in-zip-file.sh index b41ed0f95..dca533d03 100755 --- a/.github/scripts/sign-exe-in-zip-file.sh +++ b/.github/scripts/sign-exe-in-zip-file.sh @@ -18,11 +18,10 @@ zip -r -q $file ./${destination_folder_name} echo "Successfully zipped ${destination_folder_name} into ${file}" java -jar ${workdir}/.github/scripts/self-extracting-jar-creator.jar $file -filename_no_ext="${filename%.*}" -echo "Creating checksums sha-256 and md5" +echo "Creating checksums sha-256 and md5 for ${file}" shasum -a 256 $file > ${file}.sha256 md5 $file > ${file}.md5 -self_jar_file=${file::-4}.self-extracting.jar +self_jar_file=${file%.*}.self-extracting.jar +echo "Creating checksums sha-256 and md5 for ${self_jar_file}" shasum -a 256 $self_jar_file > ${self_jar_file}.sha256 -md5 $self_jar_file > ${self_jar_file}.md5 - +md5 $self_jar_file > ${self_jar_file}.md5 \ No newline at end of file diff --git a/.github/workflows/eclipse-distro-build.yml b/.github/workflows/eclipse-distro-build.yml index 969262b41..916f7e6e0 100644 --- a/.github/workflows/eclipse-distro-build.yml +++ b/.github/workflows/eclipse-distro-build.yml @@ -58,5 +58,5 @@ jobs: AC_PASSWORD: ${{ secrets.AC_PASSWORD }} APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} run: | - cd eclipse-distribution + cd ${{ github.workspace }}/eclipse-distribution ./mvnw --batch-mode -U clean deploy -P${{ inputs.eclipse_profile }} -P${{ inputs.build_type }} -Pgitactions -Pgpg.sign -Dsigning.skip=true -Dmaven.repo.local=~/.m2/repository-signed -Dhttpclient.retry-max=20 -Dmaven.test.skip=true -Declipse.p2.mirrors=false -Dtycho.localArtifacts=ignore -Ds3service.https-only=true -Dp2.replaceQualifier=true -Dorg.eclipse.ecf.provider.filetransfer.httpclient.retrieve.readTimeout=1200000 -Dorg.eclipse.equinox.p2.transport.ecf.retry=5 -Dskip.eclipserun.proxies=false -Dskip.osx.signing=false -Dskip.win.signing=false -Dskip.osx.notarizing=false -Dtycho.equinox.resolver.uses=true \ No newline at end of file